246 Commits

Author SHA1 Message Date
Tim Shannon 30aac69509 Merge pull request #140 from timshannon/issue139
Added missing key handling in sort queries
2024-03-14 14:40:03 -05:00
Tim Shannon 9e67def9bb Added missing key handling in sort queries 2024-03-14 14:31:41 -05:00
Tim Shannon dca5178aa6 Merge pull request #138 from timshannon/issue137
Fixes Issue #137
2023-11-29 13:29:44 -06:00
Tim Shannon 2059b1c547 Updated build to use latest go 2023-11-29 13:23:59 -06:00
Tim Shannon 242710e2f7 Updated dependencies 2023-11-29 11:51:15 -06:00
Tim Shannon dfe857eff1 Fixes issue #137
Indexes can't be used efficiently with ContainsAll queries because all
values in the index need to be checked.  Instead we just short circuit
the index lookup like we do for MatchFunc
2023-11-29 11:48:21 -06:00
Tim Shannon 232392fc8a Merge pull request #132 from NV4RE/feature/fix-readme
Fix typo
2021-09-13 11:54:10 -05:00
NV4RE b9fe7c05ac Fix typo 2021-09-13 23:39:10 +07:00
Tim Shannon 99429b3df2 Merge pull request #131 from timshannon/issue130-nested-aggregate-fields
Added nested field support for Aggregate queries
2021-09-07 10:59:43 -05:00
Tim Shannon 1d5cf74d06 Added nested field support for Aggregate queries 2021-09-06 19:48:05 -05:00
Tim Shannon 64fab00db4 Added empty query example to README 2021-08-12 10:36:58 -05:00
Tim Shannon 21d58def97 Merge pull request #129 from timshannon/issue122
Unique Constraints
2021-07-14 14:59:57 -05:00
Tim Shannon c8d4a6c3c2 Updated README for Unique constraints 2021-07-14 14:55:15 -05:00
Tim Shannon fe33af2d8b Added support for unique indexes / constraints 2021-07-14 14:51:07 -05:00
Tim Shannon bae5ad8b63 Added handling for unique constraints 2021-07-14 11:27:21 -05:00
Tim Shannon e42e3b0f01 Updated build status tag 2021-07-13 14:52:04 -05:00
Tim Shannon 27f8f896dc Move to github actions 2021-07-13 14:29:00 -05:00
Tim Shannon 0b3766cda4 Merge pull request #128 from timshannon/modfile-and-actions
Modfile and actions
2021-07-13 14:19:14 -05:00
Tim Shannon 3277d03c24 Removed travis file for the move to github actions 2021-07-13 14:18:04 -05:00
Tim Shannon 2a3ca697e4 Added go mod / sum files 2021-07-13 13:49:58 -05:00
Tim Shannon 4a25ab1406 Merge pull request #119 from Joshua-Wright/foreach-query-key
add setting key value in struct for ForEach queries
2020-08-17 08:02:12 -05:00
Josh 8dfa0b60db add setting key value in struct for ForEach queries 2020-08-15 15:27:55 -05:00
Tim Shannon 010bd25d1a Merge pull request #118 from timshannon/issue115
Ensured put and delete deal with non-pointers
2020-08-12 13:41:33 -05:00
Tim Shannon 8006f3e224 Ensured put and delete deal with non-pointers 2020-08-12 13:37:17 -05:00
Tim Shannon b8da80e378 Merge pull request #117 from timshannon/issue116
Handle deleting already deleted records properly
2020-08-12 09:52:37 -05:00
Tim Shannon 29bdf9067c Handle deleting already deleted records properly 2020-08-12 09:46:48 -05:00
Tim Shannon 3be86da07f Merge pull request #114 from Wolveix/master
Cleanup README + Fix s.Find Example
2020-07-21 16:42:30 -05:00
Robert Thomas 82952992c0 Cleanup + Fix s.Find Example 2020-07-21 22:31:05 +01:00
Tim Shannon 0bc7c26a7c Update README.md
Corrected incorrect case on `boltholdIndex` struct tag in README
2020-07-16 08:04:39 -05:00
Tim Shannon fa67e4fbfb Merge pull request #112 from timshannon/107-iterator-seeking
Fix iterator seeking
2020-06-03 12:02:22 -05:00
Tim Shannon eb7af18083 Added seeking back in 2020-06-02 18:01:59 -05:00
Tim Shannon e6272b6f8b Added back seek cursor func
* Need to actually get it working correctly now
* Removed redundant stuct types in arrays
2020-06-02 17:16:14 -05:00
Tim Shannon dc44bebf3b Merge pull request #109 from timshannon/108-empty-queries
Better query building support
2020-04-27 15:17:21 -05:00
Tim Shannon b1b5e2d95f Better query building support
Instantiate criteria map on `And` fields in case query is starting
empty.
2020-04-26 10:43:56 -05:00
Tim Shannon 0e8c0be6fd Merge pull request #104 from timshannon/103-reflect-panic-non-struct-type
Loop type in Get until non-pointer
2020-04-20 10:02:17 -05:00
Tim Shannon 00487bc11e Loop type in Get until non-pointer 2020-04-19 09:51:55 -05:00
Tim Shannon dc30e2b2f9 README typo fix 2020-03-16 18:13:44 -05:00
Tim Shannon 8bf37cddd3 Changed Issue 100 test to better reflect example 2020-03-17 10:09:48 -05:00
Tim Shannon 3d5d2570d3 Merge pull request #102 from timshannon/100-more-anon-struct-issues
Better Nested Field query handling
2020-03-16 15:44:29 -05:00
Tim Shannon 4de836e130 Better Nested Field query handling 2020-03-15 15:26:28 -05:00
Tim Shannon 7be3f3bd40 Merge pull request #99 from timshannon/98-anon-struct-index-issue
Changed Anonymous Struct handling to be recursive
2020-03-10 10:44:30 -05:00
Tim Shannon d9494a0c42 Added HasKey to README 2020-03-09 19:37:20 -05:00
Tim Shannon 156dd67487 Added tests for nested anon structs 2020-03-09 19:31:50 -05:00
Tim Shannon eb67194058 Handle Anon structs recursively 2020-03-09 19:04:00 -05:00
Tim Shannon 09aaf76b2c Merge pull request #97 from timshannon/94-nil-anon-embedded-structs
Handle nil-anon-structs
2020-03-07 21:43:58 -06:00
Tim Shannon 19c38623c9 Handle nil-anon-structs 2020-03-07 21:37:52 -06:00
Tim Shannon 0ac74f717c Merge pull request #95 from ftKnox/ftKnox-patch-add-haskey-query-operator
add support for matching against map keys
2020-03-07 19:45:08 -06:00
Tim Shannon 93de1656bd Added tests for HasKey 2020-03-07 19:42:58 -06:00
ftKnox e22a3e49fb add support for matching against map keys 2020-03-07 12:32:40 -07:00
Tim Shannon 5752620a36 Merge pull request #92 from timshannon/90-nest-struct-indexes
Handle anonymous structs when indexing
2020-03-05 15:20:03 -06:00