Home
last modified time | relevance | path

Searched refs:hasOrderBy_ (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_object.cpp34 hasOrderBy_(false), in QueryObject()
53 hasOrderBy_ = true; in SetAttrWithQueryObjNodes()
71 hasOrderBy_(false), in QueryObject()
100 hasOrderBy_(false), in QueryObject()
135 …orderByCounts_, isValid_, hasOrderBy_, hasLimit_, hasPrefixKey_, tableName_, isTableNameSpecified_… in GetQueryHelper()
165 if (hasLimit_ || hasOrderBy_) { in IsCountValid()
182 hasOrderBy_ = false; in ClearNodesFlag()
394 hasOrderBy_ = true; in CheckOrderByFormat()
438 return hasOrderBy_; in HasOrderBy()
H A Dsqlite_query_helper.cpp146 hasOrderBy_(info.hasOrderBy_), in SqliteQueryHelper()
221 if (hasPrefixKey_ && !hasOrderBy_ && !hasLimit_ && isNeedOrderbyKey_) { in ToQuerySql()
237 if (!hasOrderBy_ && !hasLimit_ && !isNeedOrderbyKey_) { in ToQuerySyncSql()
271 hasOrderBy_ = true; in ToGetCountSql()
286 if (hasPrefixKey_ && !hasOrderBy_ && !hasLimit_ && isNeedOrderbyKey_) { in ToGetCountSql()
680 if (hasPrefixKey_ && !hasOrderBy_ && isNeedOrderbyKey_) { in MapKeywordSymbolToSql()
1066 if (hasLimit_ && !hasOrderBy_) { // Query with limit and no order by in GetRelationalQueryStatement()
1069 } else if (hasLimit_ || hasOrderBy_) { in GetRelationalQueryStatement()
1102 if (!hasLimit_ || hasOrderBy_) { in GetRelationalQueryStatement()
H A Dsqlite_query_helper.h40 bool hasOrderBy_ = false; member
178 bool hasOrderBy_; variable
H A Dquery_object.h108 bool hasOrderBy_; variable