[odb-users] Native sqlite3 recursive SQL query

Boris Kolpackov boris at codesynthesis.com
Mon Jun 18 08:38:43 EDT 2018


MM <finjulhich at gmail.com> writes:

> std::ostringstream oss;
> oss << "SELECT mycolumn FROM sometable WHERE id IN (.."
>        << myparameter << "...)";
> auto nbr_rows = odb::database::execute( oss.str() );
> 
> Is there a way to get the resulting mycolumn as a std::vector<std::string> ?

See native views.



More information about the odb-users mailing list