22 lines
455 B
C++
22 lines
455 B
C++
#include <drogon/orm/Result.h>
|
|
#include <drogon/orm/Row.h>
|
|
#include <drogon/orm/ResultIterator.h>
|
|
#include <drogon/orm/RowIterator.h>
|
|
#include <drogon/orm/Field.h>
|
|
#include <iostream>
|
|
int main()
|
|
{
|
|
// drogon::orm::Result r;
|
|
// for(auto row:r)
|
|
// {
|
|
// for(auto field:row)
|
|
// {
|
|
// std::cout<<field.name()<<std::endl;
|
|
// }
|
|
// }
|
|
// for(auto riter=r.rbegin();riter!=r.rend();riter++)
|
|
// {
|
|
|
|
// }
|
|
}
|