proteus
proteus copied to clipboard
A simple tool for generating an application's data access layer.
I recently made the mistake of specifying a `ContextQuerier` where I needed a `ContextExecutor`. Strangely enough, my test failed because the number of rows returned was zero. However, no error...
The code is there to do the mapping, but I don't think there is a test to validate this.
Right now, you can define a querier with 0, 1, or 2 output parameters. An error is only returned if there are two output parameters. If you use 1 output...
I have a table schema like: ``` CREATE TABLE table2 ( "id" BIGSERIAL PRIMARY KEY, "uuid" VARCHAR(36) UNIQUE NOT NULL, "column2" VARCHAR(24) NOT NULL ); CREATE TABLE table1 ( "id"...
This project seems great! While giving it a go with a project I'm doing in which, among a lot of things, I use a JSONB column in which I store...
Is it possible to setup a DAO to do bulk insert queries a la COPY FROM ?
Right now, there is exactly one logger in the system. It'd be better for the logger to work like the http client and server in the standard library: have a...
Consider this scenario ```go type SortOrder string const ( ASC SortOrder = "ASC" DESC SortOrder = "DESC" ) type FooDao struct { GetBars(ctx context.Context, q ContextQuerier, offset, count int, sortField...
This PR adds the ability to configure proteus to panic (or not) when the underlying database returns an error. This is especially useful since we have the ability to chose...
I pulled the library like this ```go get -u github.com/jonbodner/proteus``` and I get version **v0.14.0**. The contents of the file in the version that I have are different from what...