Commit Graph

5 Commits

Author SHA1 Message Date
4297071b3b
restructuring
- use pointers where possible when using reflection
- add a `CreateSlice` func, for storing slices of Models created by Find and FindPaged queries
- modify tests to use `CreateSlice`
2024-09-05 17:53:04 -04:00
924b3fc9d2
many additions!
- add support for `autoinc` struct tag
- add Pull method to Model
- add utility func to increment a value of an unknown type by 1
- idcounter.go no longer increments the counter value (it is now up to the caller to increment the returned value themselves)
2024-09-04 19:43:12 -04:00
b4b18680a8
remove some commented out code 2024-09-03 13:21:44 -04:00
3f8fded6e5
add a new Append method to Model, handle misc errors, unexport some funcs + methods 2024-09-02 19:39:23 -04:00
f46aab2f5f
hello world! 🌸 2024-09-01 16:17:48 -04:00