6 Commits

Author SHA1 Message Date
d328bc3fbd
fix time.Time fields not being saved
via adding a special case in the `serializeIDs` function (in document_internals.go)
2025-03-27 16:02:22 -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
1c18fc2bf6
fix compile errors caused by mongo driver API changes 2025-03-26 20:16:04 -04:00
8c559d5926
upgrade mongodb driver to 2.0 (may revert) 2024-09-19 19:55:36 -04:00
15d032459a
remove tons of commented-out code, general cleanup 2024-09-14 15:47:17 -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