pqt
pqt copied to clipboard
Postgres schema definition, sql/go, code generation package.
Results
4
pqt issues
Sort by
recently updated
recently updated
newest added
Reference: https://www.postgresql.org/docs/9.0/static/ddl-constraints.html https://www.postgresql.org/docs/9.0/static/sql-createtable.html#SQL-CREATETABLE-EXCLUDE
hacktoberfest
feature
Right now, with schema like `A 1-n B 1-n C`. Joining from `C` to `A` through `B` is not possible. So expression like: ```go filter := &model.CFindExpr{ Offset: req.Offset, Limit:...
hacktoberfest
feature
I would suggest to introduce table aliases for using them in query. **Problem** E.g.: if we use column like this ```go pqt.NewColumn("version", pqt.TypeIntegerBig(), pqt.WithNotNull(), pqt.WithDefault("version+1", pqt.EventUpdate) ``` it will generate...
bug
hacktoberfest
closes #17