Commit Graph

121 Commits (7c3e50e78355a08d03471ac78bfee610c3318ef7)
 

Author SHA1 Message Date
Nikita Tokarchuk 7c3e50e783
Keep tests in separated _test package 3 years ago
Nikita Tokarchuk 42e484e47f
Upgrade go mod packages 3 years ago
Nikita Tokarchuk 6b34ad5a09
Override default ephemeral database uri by using env variable 3 years ago
Nikita Tokarchuk eab00f99b5
Use hexed objectID as the name for ephemeral db name 3 years ago
Nikita Tokarchuk 82e1de7216
Add dockerfile for testing 3 years ago
Nikita Tokarchuk 5e8e65d03e
Use the only field type elem to check the content 4 years ago
Nikita Tokarchuk 8d6a318bb2
Bump go mod packages 4 years ago
Nikita Tokarchuk e52b1bcc8a
Retrieve the fields info from the type elem but not the value elem 4 years ago
Nikita Tokarchuk 04382db4cd
Remove usesd ref interface from the stream loader 4 years ago
Nikita Tokarchuk 80a5c864c5
Fix comments 4 years ago
Nikita Tokarchuk e087825026
Rework load array function 4 years ago
Nikita Tokarchuk 8cc57cc82f
Stream loader now consumes a provided interface instead of target 4 years ago
Nikita Tokarchuk 18d9f9bed3
Call oncreate callback if new elem created while loading 4 years ago
Nikita Tokarchuk 0bc4e62d80
Track if the target was created as new during reset 4 years ago
Nikita Tokarchuk 1bfa6c3a21
Use clean validator interface name 4 years ago
Nikita Tokarchuk 86397885e2
Function update one now considers the protection key using the update operator 4 years ago
Nikita Tokarchuk c1ad7aea7d
Let the protection key restate itself 4 years ago
Nikita Tokarchuk fc2a867cbb
Use update operator not the update pipeline 4 years ago
Nikita Tokarchuk eeb1a8d598
Change preloader query function interface 4 years ago
Nikita Tokarchuk 84ae518fe9
Now all query filters can validate themselves using Valider interface 4 years ago
Nikita Tokarchuk 15bb53694f
Refactor variables names 4 years ago
Nikita Tokarchuk 024ea196f6
Allow to combine query filter purposes 4 years ago
Nikita Tokarchuk 442320b31a
Expose updateone to a service 4 years ago
Nikita Tokarchuk 0b798fe818
Use primitive import instead of bson alias 4 years ago
Nikita Tokarchuk f859828370
Implement UpdateOne query support 4 years ago
Nikita Tokarchuk 1fdfa18740
Return result err in loadone if cant next 4 years ago
Nikita Tokarchuk 24004ff910
Consistent onclose callback order and proper err handling 4 years ago
Nikita Tokarchuk cd5b2b85d1
Bump packages 4 years ago
Nikita Tokarchuk 87708fee04 Add callback support to a saving 4 years ago
Nikita Tokarchuk 06f6f48f11 Add context support to a saving 4 years ago
Nikita Tokarchuk 28be1f46b9 Add filters support for a saving 4 years ago
Nikita Tokarchuk 848703d56d Add callback support to a single deleting 4 years ago
Nikita Tokarchuk 8fcd764a8c Add context query support to a single deleting 4 years ago
Nikita Tokarchuk 50e947b203 Invoke onclose at the end of an array deleting 4 years ago
Nikita Tokarchuk 73dc4974a2 Add query context support for an array deleting 4 years ago
Nikita Tokarchuk 08397650c6 Add filters support for an array deleting 4 years ago
Nikita Tokarchuk ee4bf46662 Add callback support for a counting 4 years ago
Nikita Tokarchuk 9fb3094b87 Use reflect2 4 years ago
Nikita Tokarchuk b22b0f0919 Add query to the context 4 years ago
Nikita Tokarchuk 951e5f5bef Add onclose callback 4 years ago
Nikita Tokarchuk b796d5ac3b Make callback type 4 years ago
Nikita Tokarchuk 08c3c5b377 Add callback mechanism and implement on-decode callback 4 years ago
Nikita Tokarchuk 09fa64ab0e Return err if cannot decode array element 4 years ago
Nikita Tokarchuk c019a0ea4b Ignore unused arguments 4 years ago
Nikita Tokarchuk ee1b0e17d5 Improve panic messages 4 years ago
Nikita Tokarchuk 22a1d7033f Remove custom errors 4 years ago
Nikita Tokarchuk 1d3e29fe10 Use err type for panics 4 years ago
Nikita Tokarchuk 72e74a65b6 Use named returns for the code style consistency 4 years ago
Nikita Tokarchuk 9cf3551c20 MIT licensed 4 years ago
Nikita Tokarchuk 3035d8d571 Fix aggregation pipeline match step 4 years ago