Releases: dadleyy/marlow
Bitwise updater apis
Introduced in #82 - the updater generators can now generate AddRecordFieldMask and DropRecordFieldMask methods to the record stores for fields with the bitmask directive set:
package models
type User struct {
// ...
SettingsMask uint8 `marlow:"column=settings&bitmask"`
}type UserStore interface {
// ...
DropUserSettingsMask(uint8, *UserBlueprint) (int64, error)
AddUserSettingsMask(uint8, *UserBlueprint) (int64, error)
// ...
}time.Time, selection api rename + logger ubiquitity
Added support for the time.Time type on source record fields, added more logger writes across different apis.
Also updated the example app - working on an interactive move.
See #81
Logger + Postgres Fixes
Added a io.Writer param to the generated NewRecordStore methods. Will be used to print out queries run by the stores.
Fixes GH-75
inclusive blueprints
GH-73: adding Inclusive bool field to blueprints to create OR-ed clause items.
postgres dialect support
GH-66: adding support for postgres via dialect record config option
Exposing the record store as an interface
GH-59: adding the NewRecordStore function that returns an un-exported implementation of the record store.
wider range of support numerical field types
GH-63: support more numerical fields
Preparing transactions before execution
GH-56: 🐛 🔧 updating all apis to use DB.Prepare before sending values to db
Creation API
Initial CRUD API implementions 💯 complete!
GH-53: creation api 🎉