Commit Graph

106 Commits (8cc57cc82fe9f2ddd23b02dc7bbd59ee32f8ac78)

Author SHA1 Message Date
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 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 3035d8d571 Fix aggregation pipeline match step 5 years ago
Nikita Tokarchuk eac50d1770 Do not use unnecessary reflect 5 years ago
Nikita Tokarchuk 05ebb25e70 Use unsafe pointer in the interface struct header is more correct way 5 years ago
Nikita Tokarchuk fd53c66690 Use ordered document for index model 5 years ago
Nikita Tokarchuk 6111341a3c Check for nil interface correctly 5 years ago
Nikita Tokarchuk 9f647ca094 Allow nil query in composer 5 years ago
Nikita Tokarchuk eeb83daf4b Configure indices in struct tags 5 years ago
Nikita Tokarchuk 6e6a042a16 Return the empty context if not defined 5 years ago
Nikita Tokarchuk e0c26f770f Do not find through unexported values 5 years ago
Nikita Tokarchuk e7a05d94e1 Reexport basic mongo structs 5 years ago
Nikita Tokarchuk 8267abe5be Ephemeral database for testing in the testing package 5 years ago
Nikita Tokarchuk ab4227eaef Make package for protection struct 5 years ago
Nikita Tokarchuk 6e5dccbc96 Missed docs 5 years ago
Nikita Tokarchuk 0b313e82fb Handle cursor error 5 years ago