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 D | query_object.cpp | 34 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 D | sqlite_query_helper.cpp | 146 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 D | sqlite_query_helper.h | 40 bool hasOrderBy_ = false; member 178 bool hasOrderBy_; variable
|
H A D | query_object.h | 108 bool hasOrderBy_; variable
|