Database operation rules. More...
Public Attributes | |
const int | FLG_QUERY_FORCE_HINT = 0x00000080 |
Force to use specified hint to query, if database have no index assigned by the hint, fail to query. | |
const int | FLG_QUERY_PARALLED = 0x00000100 |
Enable parallel sub query, each sub query will finish scanning diffent part of the data. | |
const int | FLG_QUERY_WITH_RETURNDATA = 0x00000200 |
In general, query won't return data until cursor gets from database, when add this flag, return data in query response, it will be more high-performance. | |
Properties | |
BsonDocument | Matcher [get, set] |
Matching rule. | |
BsonDocument | Selector [get, set] |
selective rule | |
BsonDocument | OrderBy [get, set] |
Ordered rule. | |
BsonDocument | Hint [get, set] |
Sepecified access plan. | |
BsonDocument | Modifier [get, set] |
Modified rule. | |
long | SkipRowsCount [get, set] |
Documents to skip. | |
long | ReturnRowsCount [get, set] |
Documents to return. | |
int | Flag [get, set] |
Query flag. | |
Database operation rules.
const int FLG_QUERY_FORCE_HINT = 0x00000080 |
Force to use specified hint to query, if database have no index assigned by the hint, fail to query.
0x00000080
const int FLG_QUERY_PARALLED = 0x00000100 |
Enable parallel sub query, each sub query will finish scanning diffent part of the data.
0x00000100
const int FLG_QUERY_WITH_RETURNDATA = 0x00000200 |
In general, query won't return data until cursor gets from database, when add this flag, return data in query response, it will be more high-performance.
0x00000200