Files
khatru/storage/postgresql/postgresql.go
bndw 03ecbb9e6c feat(postgres): configurable query limit
Adds a QueryLimit to `type PostgresBackend` and retains the
current default value of 100.

Closes #60
2023-05-24 13:13:42 -03:00

12 lines
138 B
Go

package postgresql
import (
"github.com/jmoiron/sqlx"
)
type PostgresBackend struct {
*sqlx.DB
DatabaseURL string
QueryLimit int
}