add possibility of calculating how many rows there were before LIMIT was applied
The Finder has get_rows_counter() method which returns how many rows there were before LIMIT clause was applied. The select(...) method should be called with Select::with_rows_counter flag in such a case. while here: - change the semantic of Finder, now the select(...) method takes a morm::Select flags, and we have such flags: - Select::no_auto_generated_columns - do not generate columns from models - with_rows_counter - add an additional column for the rows counter - remove Finder::prepare_to_select() - now use select(...) with no_auto_generated_columns flag
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
./baseexpression.o: ../../pikotools/src/log/log.h
|
||||
./baseexpression.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./baseexpression.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./baseexpression.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./baseexpression.o: baseobjectwrapper.h modelcontainerwrapper.h select.h ft.h
|
||||
./baseexpression.o: ../../pikotools/src/convert/text.h model.h
|
||||
./baseexpression.o: modelconnector.h clearer.h dbconnector.h flatconnector.h
|
||||
./baseexpression.o: dbexpression.h flatexpression.h
|
||||
@@ -40,8 +40,8 @@
|
||||
./clearer.o: dbexpression.h baseexpression.h morm_types.h modelenv.h
|
||||
./clearer.o: modeldata.h cursorhelper.h finderhelper.h fieldvaluehelper.h
|
||||
./clearer.o: wrapper.h spacewrapper.h baseobjectwrapper.h
|
||||
./clearer.o: modelcontainerwrapper.h ../../pikotools/src/convert/text.h
|
||||
./clearer.o: flatexpression.h
|
||||
./clearer.o: modelcontainerwrapper.h select.h
|
||||
./clearer.o: ../../pikotools/src/convert/text.h flatexpression.h
|
||||
./dbconnector.o: ../../pikotools/src/space/spaceparser.h
|
||||
./dbconnector.o: ../../pikotools/src/space/space.h
|
||||
./dbconnector.o: ../../pikotools/src/textstream/types.h
|
||||
@@ -63,9 +63,10 @@
|
||||
./dbconnector.o: dbexpression.h baseexpression.h morm_types.h modelenv.h
|
||||
./dbconnector.o: modeldata.h cursorhelper.h finderhelper.h fieldvaluehelper.h
|
||||
./dbconnector.o: wrapper.h spacewrapper.h baseobjectwrapper.h
|
||||
./dbconnector.o: modelcontainerwrapper.h ../../pikotools/src/convert/text.h
|
||||
./dbconnector.o: model.h modelconnector.h clearer.h flatconnector.h
|
||||
./dbconnector.o: flatexpression.h ../../pikotools/src/convert/convert.h
|
||||
./dbconnector.o: modelcontainerwrapper.h select.h
|
||||
./dbconnector.o: ../../pikotools/src/convert/text.h model.h modelconnector.h
|
||||
./dbconnector.o: clearer.h flatconnector.h flatexpression.h
|
||||
./dbconnector.o: ../../pikotools/src/convert/convert.h
|
||||
./dbconnector.o: ../../pikotools/src/convert/inttostr.h
|
||||
./dbconnector.o: ../../pikotools/src/convert/patternreplacer.h
|
||||
./dbconnector.o: ../../pikotools/src/convert/strtoint.h
|
||||
@@ -90,8 +91,9 @@
|
||||
./dbexpression.o: ../../pikotools/src/log/log.h
|
||||
./dbexpression.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./dbexpression.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./dbexpression.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./dbexpression.o: ../../pikotools/src/convert/text.h
|
||||
./dbexpression.o: baseobjectwrapper.h modelcontainerwrapper.h select.h ft.h
|
||||
./dbexpression.o: ../../pikotools/src/convert/text.h model.h modelconnector.h
|
||||
./dbexpression.o: clearer.h dbconnector.h flatconnector.h flatexpression.h
|
||||
./flatconnector.o: flatconnector.h
|
||||
./flatconnector.o: ../../pikotools/src/textstream/textstream.h
|
||||
./flatconnector.o: ../../pikotools/src/textstream/stream.h
|
||||
@@ -110,7 +112,7 @@
|
||||
./flatconnector.o: cursorhelper.h queryresult.h ../../pikotools/src/log/log.h
|
||||
./flatconnector.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./flatconnector.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./flatconnector.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./flatconnector.o: baseobjectwrapper.h modelcontainerwrapper.h select.h ft.h
|
||||
./flatconnector.o: ../../pikotools/src/convert/text.h model.h
|
||||
./flatconnector.o: modelconnector.h clearer.h dbconnector.h dbexpression.h
|
||||
./flatexpression.o: flatexpression.h baseexpression.h
|
||||
@@ -131,7 +133,7 @@
|
||||
./flatexpression.o: ../../pikotools/src/log/log.h
|
||||
./flatexpression.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./flatexpression.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./flatexpression.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./flatexpression.o: baseobjectwrapper.h modelcontainerwrapper.h select.h ft.h
|
||||
./flatexpression.o: ../../pikotools/src/convert/text.h
|
||||
./jsonconnector.o: jsonconnector.h flatconnector.h
|
||||
./jsonconnector.o: ../../pikotools/src/textstream/textstream.h
|
||||
@@ -152,7 +154,7 @@
|
||||
./jsonconnector.o: ../../pikotools/src/log/log.h
|
||||
./jsonconnector.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./jsonconnector.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./jsonconnector.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./jsonconnector.o: baseobjectwrapper.h modelcontainerwrapper.h select.h ft.h
|
||||
./jsonconnector.o: ../../pikotools/src/convert/text.h
|
||||
./jsonexpression.o: jsonexpression.h flatexpression.h baseexpression.h
|
||||
./jsonexpression.o: ../../pikotools/src/textstream/textstream.h
|
||||
@@ -172,7 +174,7 @@
|
||||
./jsonexpression.o: ../../pikotools/src/log/log.h
|
||||
./jsonexpression.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./jsonexpression.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./jsonexpression.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./jsonexpression.o: baseobjectwrapper.h modelcontainerwrapper.h select.h ft.h
|
||||
./jsonexpression.o: ../../pikotools/src/convert/text.h
|
||||
./jsonexpression.o: ../../pikotools/src/convert/misc.h
|
||||
./jsonexpression.o: ../../pikotools/src/convert/text.h
|
||||
@@ -194,8 +196,8 @@
|
||||
./model.o: dbexpression.h baseexpression.h morm_types.h modelenv.h
|
||||
./model.o: modeldata.h cursorhelper.h finderhelper.h fieldvaluehelper.h
|
||||
./model.o: wrapper.h spacewrapper.h baseobjectwrapper.h
|
||||
./model.o: modelcontainerwrapper.h ../../pikotools/src/convert/text.h
|
||||
./model.o: flatexpression.h
|
||||
./model.o: modelcontainerwrapper.h select.h
|
||||
./model.o: ../../pikotools/src/convert/text.h flatexpression.h
|
||||
./modelconnector.o: modelconnector.h clearer.h
|
||||
./modelconnector.o: ../../pikotools/src/date/date.h
|
||||
./modelconnector.o: ../../pikotools/src/convert/inttostr.h
|
||||
@@ -233,7 +235,7 @@
|
||||
./postgresqlconnector.o: dbexpression.h baseexpression.h morm_types.h
|
||||
./postgresqlconnector.o: modelenv.h modeldata.h cursorhelper.h finderhelper.h
|
||||
./postgresqlconnector.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./postgresqlconnector.o: baseobjectwrapper.h modelcontainerwrapper.h
|
||||
./postgresqlconnector.o: baseobjectwrapper.h modelcontainerwrapper.h select.h
|
||||
./postgresqlconnector.o: ../../pikotools/src/convert/text.h
|
||||
./postgresqlconnector.o: ../../pikotools/src/convert/strtoint.h
|
||||
./postgresqlconnector.o: ../../pikotools/src/convert/text.h
|
||||
@@ -257,8 +259,8 @@
|
||||
./postgresqlexpression.o: ../../pikotools/src/log/log.h
|
||||
./postgresqlexpression.o: ../../pikotools/src/log/filelog.h finderhelper.h
|
||||
./postgresqlexpression.o: fieldvaluehelper.h wrapper.h spacewrapper.h
|
||||
./postgresqlexpression.o: baseobjectwrapper.h modelcontainerwrapper.h ft.h
|
||||
./postgresqlexpression.o: ../../pikotools/src/convert/text.h
|
||||
./postgresqlexpression.o: baseobjectwrapper.h modelcontainerwrapper.h
|
||||
./postgresqlexpression.o: select.h ft.h ../../pikotools/src/convert/text.h
|
||||
./postgresqlqueryresult.o: postgresqlqueryresult.h queryresult.h
|
||||
./postgresqlqueryresult.o: ../../pikotools/src/log/log.h
|
||||
./postgresqlqueryresult.o: ../../pikotools/src/textstream/textstream.h
|
||||
|
Reference in New Issue
Block a user