Skip to content

intdxdt/dblite

Repository files navigation

dblite

A light layer for interacting with postgres and sqlite3.

primary key

there is a difference in adding auto increment for postgres and sqlite3. Add {PRIMARY KEY} to be replaced based on appropriate driver like this:

var db, err := NewDatabase(driver, uri)
db.SetAutoIncrementPrimaryKey(&model)

About

convenient CRUD functions for SQLite3

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages