lpar / schemata

Helper methods for creating test schemas in PostgreSQL databases with copies of tables from the live schema for unit testing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Schemata

GoDoc

Helper methods for creating test schemas in PostgreSQL databases, with copies of tables from the live schema. Thread-safe, so you can call them from unit tests. Uses pgx because pq is sadly in maintenance-only mode.

Needs unit tests (hint hint) but is very short, under a hundred lines.

About

Helper methods for creating test schemas in PostgreSQL databases with copies of tables from the live schema for unit testing.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%