piotrkowalczuk / Pqt

Licence: mit
Postgres schema definition, sql/go, code generation package.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Pqt

Beam
A type-safe, non-TH Haskell SQL library and ORM
Stars: ✭ 454 (+598.46%)
Mutual labels:  sql, orm, postgresql
Hunt Entity
An object-relational mapping (ORM) framework for D language (Similar to JPA / Doctrine), support PostgreSQL and MySQL.
Stars: ✭ 51 (-21.54%)
Mutual labels:  orm, entity, postgresql
Jooq
jOOQ is the best way to write SQL in Java
Stars: ✭ 4,695 (+7123.08%)
Mutual labels:  sql, orm, postgresql
Freezer
A simple & fluent Android ORM, how can it be easier ? RxJava2 compatible
Stars: ✭ 326 (+401.54%)
Mutual labels:  sql, orm, entity
Lucid
AdonisJS official SQL ORM. Supports PostgreSQL, MySQL, MSSQL, Redshift, SQLite and many more
Stars: ✭ 613 (+843.08%)
Mutual labels:  sql, orm, postgresql
Walkable
A Clojure(script) SQL library for building APIs: Datomic® (GraphQL-ish) pull syntax, data driven configuration, dynamic filtering with relations in mind
Stars: ✭ 384 (+490.77%)
Mutual labels:  sql, orm, postgresql
Scala Db Codegen
Scala code/boilerplate generator from a db schema
Stars: ✭ 49 (-24.62%)
Mutual labels:  sql, postgresql, code-generation
Db
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Stars: ✭ 2,832 (+4256.92%)
Mutual labels:  sql, orm, postgresql
Go Sqlbuilder
A flexible and powerful SQL string builder library plus a zero-config ORM.
Stars: ✭ 539 (+729.23%)
Mutual labels:  sql, orm, postgresql
Qb
The database toolkit for go
Stars: ✭ 524 (+706.15%)
Mutual labels:  sql, orm, postgresql
Rel
💎 Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
Stars: ✭ 317 (+387.69%)
Mutual labels:  sql, orm, postgresql
Smartsql
SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
Stars: ✭ 775 (+1092.31%)
Mutual labels:  sql, orm, postgresql
Sqlc
Generate type-safe code from SQL
Stars: ✭ 4,564 (+6921.54%)
Mutual labels:  sql, orm, postgresql
Gnorm
A database-first code generator for any language
Stars: ✭ 415 (+538.46%)
Mutual labels:  sql, orm, code-generation
Xo
Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
Stars: ✭ 2,974 (+4475.38%)
Mutual labels:  sql, orm, postgresql
Openrecord
Make ORMs great again!
Stars: ✭ 474 (+629.23%)
Mutual labels:  sql, orm, postgresql
Nut
Advanced, Powerful and easy to use ORM for Qt
Stars: ✭ 181 (+178.46%)
Mutual labels:  sql, orm, postgresql
Jaguar orm
Source-generated ORM with relations (one-to-one, one-to-many, many-to-many), preloading, cascading, polymorphic relations, etc
Stars: ✭ 188 (+189.23%)
Mutual labels:  sql, orm, postgresql
Pg
Golang ORM with focus on PostgreSQL features and performance
Stars: ✭ 4,918 (+7466.15%)
Mutual labels:  sql, orm, postgresql
Sequelize
An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js
Stars: ✭ 25,422 (+39010.77%)
Mutual labels:  sql, orm, postgresql

pqt GoDoc Build Status codecov.io

This package is a toolbox for Postgres driven applications. It provides multiple tools to help to work with Postgres efficiently. In comparison to other currently available libraries instead of pushing struct tags into anti-pattern or parsing SQL, it allows defining schema programmatically.

From a developer perspective, pqt is primarily a toolkit generator, not an ORM. It means it is focusing on bringing low-level building blocks. Generated DAL (Data Access Layer) is only a (desired) side effect, a proof that those components fit together well.

A developer gets full access to the internals. Building your own, type-safe logic takes minutes. As a result, transition in and out is easy. No fear that you will be stuck with an ORM that doesn't meet your requirements anymore.

Documentation

Example

The package itself does not provide any command line application that would generate output out of given input. Instead, it encourages to write local generation application next to the proper package. A good example of how such an application could be structured can be found in examples.

By default, the example is trying to connect to local test database on the default port. To run it simply call:

$ make gen // not necessary, since generated code is already part of the repo
$ make run

Plugins

pqtgo supports plugins over the interface.

Contribution

TODO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].