bond icon indicating copy to clipboard operation
bond copied to clipboard

Simple database model layer for upper.io/db

Results 7 bond issues
Sort by recently updated
recently updated
newest added

* move tests under `internal/tests` * use docker-compose to spin up a server and run tests

Originally submitted at https://github.com/upper/db/issues/362 I don't have any strong preference for `SessionTx`, `CreateTx` is a good candidate, my suggestion would be `RunTx`.

This comes from https://github.com/upper/db/issues/224

`bond.Save(transmission)` works `bond.Save(&transmission)` fails with "object must be struct" error

`fk:StructName.FieldName` or even `fk:table_name.column_name` tag would be very useful. This would allow to implement things like cascading delete (with before/after delete being triggered).

Required to allow joins on tables with columns sharing names.