Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP query #27

Merged
merged 72 commits into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
88dd2d3
Implement query and builder related ffi functions
Buggaboo Sep 19, 2019
bb470cd
at least op overloading is working...
Buggaboo Sep 20, 2019
bd7a32e
minor typo
Buggaboo Sep 20, 2019
a8c849b
another attempt to fix the test
Buggaboo Sep 20, 2019
26e5b33
focus, do aliases later
Buggaboo Sep 20, 2019
39e6a8c
streamline enums
Buggaboo Sep 20, 2019
e820156
Finalized query condition design, also got tests running
Buggaboo Sep 20, 2019
15e9b7a
added operator overloads for int properties
Buggaboo Oct 2, 2019
7698354
added queryAny and queryAll to the box
Buggaboo Oct 2, 2019
23bb90f
added contains / contain to the party
Buggaboo Oct 2, 2019
004bcd2
added close to new queries
Buggaboo Oct 2, 2019
07a5059
updated dummy type for isNull / notNull
Buggaboo Oct 2, 2019
0d2e907
cleaned up tests
Buggaboo Oct 2, 2019
2b3b91b
added tests for double and booleans (both are not supported atm)
Buggaboo Oct 2, 2019
0b19c16
added implementation and tests for `in`, `notIn`, `greater`, `less`
Buggaboo Oct 2, 2019
b14c10c
updated test for `contain` and `contains` for String
Buggaboo Oct 2, 2019
b9c5189
* Modified function signature of find find_ids, maybe unnecessary
Buggaboo Oct 3, 2019
e81d351
Merge branch 'query' into dev-query
Buggaboo Oct 3, 2019
6690bd2
minor cleanup
Buggaboo Oct 3, 2019
231c781
updated readme
Buggaboo Oct 3, 2019
e80fe14
forgot symbol associativity
Buggaboo Oct 8, 2019
42f1152
added bool and double to supported types, still segfaulting on isNull…
Buggaboo Oct 9, 2019
b9ae9d9
try finally resource release
Buggaboo Oct 9, 2019
7481113
Merge branch 'dev' into dev-query
Buggaboo Oct 9, 2019
81895fd
renamed disjunctive normal form (dnf) to anyGroup
Buggaboo Oct 9, 2019
6c5bc56
Implemented other `free` functions for struct pointers
Buggaboo Oct 9, 2019
114d183
changed limit default to zero
Buggaboo Oct 9, 2019
462f74c
renamed condition operators
Buggaboo Oct 9, 2019
06fe677
_queryBuilderPtr -> _cBuilder
Buggaboo Oct 9, 2019
1f868a2
oops, corrected cop in params
Buggaboo Oct 9, 2019
0e2f88e
Added comment about type aliases
Oct 10, 2019
e34f02a
changed the ffi function return types for query_find(_ids) to Uint64,
Buggaboo Oct 10, 2019
55d7f70
kill your darlings: removed queryAll/queryAny that applies a reduce o…
Buggaboo Oct 10, 2019
dbcbe0f
kill your darlings: removed qb_strings_contain for Vector<String> types
Buggaboo Oct 10, 2019
768a7ef
moved out QueryBuilder into its own file within the internal library …
Buggaboo Oct 10, 2019
c9c0a0e
Merge branch 'dev-query' of github.com:Buggaboo/objectbox-dart into d…
Buggaboo Oct 10, 2019
be2aa90
Introduced support for other int-ish types.
Buggaboo Oct 11, 2019
e454a52
Moved out OBXOrderFlag to constants
Buggaboo Oct 11, 2019
ce1e0e3
removed unused generic param
Buggaboo Oct 11, 2019
1e91e20
Merge branch 'dev' into dev-query
Buggaboo Oct 11, 2019
bc05781
wrong number of params
Buggaboo Oct 12, 2019
df00e23
implemented manual type mapping
Buggaboo Oct 12, 2019
cbb44aa
fixed bad merge
Buggaboo Oct 12, 2019
9e8f49a
reimplemented find/findFirst
Buggaboo Oct 13, 2019
9497784
added bounds check to findFirst
Buggaboo Oct 13, 2019
75101fe
fixed minor issues with tests
Buggaboo Oct 13, 2019
b164fb5
added describe(_params)
Buggaboo Oct 13, 2019
d4d6613
oops
Buggaboo Oct 13, 2019
43324e0
added bool to integer conditions
Buggaboo Oct 13, 2019
5b36eda
corrected "dynamic" issue (dart type analysis hickup), and fixed oops…
Buggaboo Oct 13, 2019
ddeef77
corrected skewed tree construction and minimized the number of condit…
Buggaboo Oct 14, 2019
2987190
Merge branch 'dev' into dev-query
Buggaboo Oct 14, 2019
13e8c0e
Merge branch 'dev' into dev-query
Buggaboo Oct 14, 2019
aebd560
IntegerQuery apply simplification
vaind Oct 15, 2019
81c3ac5
create scoped TestEnv for tests
vaind Oct 15, 2019
b1fae6a
define and use OBX_id_array ffi struct
vaind Oct 15, 2019
00f60cc
updated README
Buggaboo Oct 16, 2019
02c656a
Merge pull request #1 from vaind/dev-query
Buggaboo Oct 16, 2019
92259ae
Merge branch 'dev-query' of github.com:Buggaboo/objectbox-dart into d…
Buggaboo Oct 16, 2019
4f0c2cf
replaced fields from Entity_ with named params
Buggaboo Oct 16, 2019
bfc0bc4
removed unused variables
Buggaboo Oct 16, 2019
3fae217
Renamed QueryCondition to ConditionGroup
Buggaboo Oct 16, 2019
57d9325
Renamed
Buggaboo Oct 16, 2019
3cccbf3
bindings no longer looks in lib automagically
Buggaboo Oct 16, 2019
196f964
streamline Query any/all grouping using ConditionGroup
vaind Oct 17, 2019
c6579ad
privatize QueryProperty internals so they don't pollute query code co…
vaind Oct 17, 2019
479e8a6
Revert "bindings no longer looks in lib automagically"
Buggaboo Oct 19, 2019
dabcaa9
Merge pull request #2 from vaind/dev-query
Buggaboo Oct 19, 2019
9cc3318
Merge branch 'dev-query' of github.com:Buggaboo/objectbox-dart into d…
Buggaboo Oct 19, 2019
0538b4d
Merge branch 'dev' into dev-query
Buggaboo Oct 19, 2019
075f5bd
Added workaround for signed dart binary issue from brew
Buggaboo Oct 19, 2019
e693c07
comment clean up
Buggaboo Oct 19, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/bindings/bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class _ObjectBoxBindings {
if (Platform.isWindows)
libName += ".dll";
else if (Platform.isMacOS)
libName = "lib" + libName + ".dylib";
libName = "lib/lib" + libName + ".dylib";
Buggaboo marked this conversation as resolved.
Show resolved Hide resolved
else if (Platform.isLinux || Platform.isAndroid)
libName = "lib" + libName + ".so";
else
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ environment:
dependencies:
# take care updating flatbuffers - keep aligned with other bindings
flat_buffers: 1.11.0
ffi: 0.1.2
ffi: '>=0.1.2'
dev_dependencies:
build_runner: ^1.0.0
objectbox_model_generator:
Expand Down