Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Releases: dadleyy/marlow

Bitwise updater apis

17 Mar 04:48
3e00ca0
Compare
Choose a tag to compare

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

16 Mar 18:22
01e292d
Compare
Choose a tag to compare

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

11 Dec 19:26
95686b3
Compare
Choose a tag to compare

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

24 Nov 17:09
45af02c
Compare
Choose a tag to compare

GH-73: adding Inclusive bool field to blueprints to create OR-ed clause items.

postgres dialect support

14 Nov 20:55
b494fd0
Compare
Choose a tag to compare

GH-66: adding support for postgres via dialect record config option

Exposing the record store as an interface

12 Nov 03:39
50beffd
Compare
Choose a tag to compare

GH-59: adding the NewRecordStore function that returns an un-exported implementation of the record store.

wider range of support numerical field types

13 Nov 20:40
f6d46a5
Compare
Choose a tag to compare

GH-63: support more numerical fields

Preparing transactions before execution

30 Oct 21:29
ef69b7d
Compare
Choose a tag to compare

GH-56: 🐛 🔧 updating all apis to use DB.Prepare before sending values to db

Creation API

27 Oct 04:58
Compare
Choose a tag to compare

Initial CRUD API implementions 💯 complete!

GH-53: creation api 🎉

bugfixes + ignored columns

26 Oct 04:48
Compare
Choose a tag to compare

GH-52: 🐞 prevent slice field type arrays
GH-51: 🚀 ignored fields for special column config value