8 Commits

Author SHA1 Message Date
5585634c83
nvm figured it out lol? 2025-04-06 22:18:27 -04:00
4de1c20938
THIS DOESN'T WORK.
but i need to commit
2025-04-06 17:41:00 -04:00
1f9d32193f
add Count function to Model
begin work on tracking populated/unpopulated fields
2025-04-05 23:44:36 -04:00
11d31fbbc1
improve Save api
add a `SaveWith` function that accepts `SaveOptions` as a parameter, letting you tweak things like whether timestamps will be set before an insert or update operation
2025-03-27 00:12:19 -04:00
bb37212be7
fix doSave calls to check if the document's ID is a zero value 2025-03-26 23:38:19 -04:00
7fc4ed46c8
ensure that the internal model field in the Document struct is tagged with bson:"-" 2025-03-25 16:24:05 -04:00
8b9720b70a
correct Pull method to break out of inner loop if a match is found
let's maybe not stop pulling elements after only the first one has been processed?
2024-09-14 15:10:14 -04:00
fcd7cb2013
overhaul models to be more sensible by separating "instance" logic into a separate Document type 🪷 2024-09-14 02:09:38 -04:00