Re: [Cppcms-users] CppDB: Return selected rows count
Brought to you by:
artyom-beilis
From: Artyom B. <art...@gm...> - 2017-01-11 08:48:15
|
The problem with the number of rows is that in many APIs it isn't known in advance. For example sqlite3 and mysql fetches row by row until you get to the end of the query. You can store the entire result but it may be costly - and it isn't done by default. So the number of rows in advance can be used for only in limited set of drivers. Artyom On Tue, Jan 10, 2017 at 10:58 AM, CN <cn...@fa...> wrote: > Hi! > > If there are people being able to arrange time to enhance CppDB to > return the selected rows count from cppdb::statement::query(), maybe I > can take the PostgreSQL part. > I can't do this alone because I know nothing except PostgreSQL :-( > > Best Regards, > CN > > -- > http://www.fastmail.com - Access all of your messages and folders > wherever you are > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. http://sdm.link/xeonphi > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |