File tree Expand file tree Collapse file tree 4 files changed +22
-22
lines changed
Expand file tree Collapse file tree 4 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ export "src/model.dart";
99export "src/store.dart" ;
1010export "src/box.dart" ;
1111export "src/modelinfo/index.dart" ;
12- export "src/query/index .dart" ;
12+ export "src/query/query .dart" ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import "bindings/flatbuffers.dart";
99import "bindings/helpers.dart" ;
1010import "bindings/structs.dart" ;
1111import "modelinfo/index.dart" ;
12- import "query/index .dart" ;
12+ import "query/query .dart" ;
1313
1414enum _PutMode {
1515 Put ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,6 +14,26 @@ import "package:ffi/ffi.dart";
1414
1515part "builder.dart" ;
1616
17+ class Order {
18+ /// Reverts the order from ascending (default) to descending.
19+ static final descending = 1 ;
20+
21+ /// Makes upper case letters (e.g. "Z") be sorted before lower case letters (e.g. "a").
22+ /// If not specified, the default is case insensitive for ASCII characters.
23+ static final caseSensitive = 2 ;
24+
25+ /// For scalars only: changes the comparison to unsigned (default is signed).
26+ static final unsigned = 4 ;
27+
28+ /// null values will be put last.
29+ /// If not specified, by default null values will be put first.
30+ static final nullsLast = 8 ;
31+
32+ /// null values should be treated equal to zero (scalars only).
33+ static final nullsAsZero = 16 ;
34+ }
35+
36+
1737/// The QueryProperty types are responsible for the operator overloading.
1838/// A QueryBuilder will be constructed, based on the any / all operations applied.
1939/// When build() is called on the QueryBuilder a Query object will be created.
You can’t perform that action at this time.
0 commit comments