feat(postgres): configurable query limit

Adds a QueryLimit to `type PostgresBackend` and retains the
current default value of 100.

Closes #60
This commit is contained in:
bndw
2023-05-23 20:41:48 -07:00
committed by fiatjaf_
parent 47b8ee106f
commit 03ecbb9e6c
4 changed files with 117 additions and 56 deletions

View File

@@ -7,4 +7,5 @@ import (
type PostgresBackend struct {
*sqlx.DB
DatabaseURL string
QueryLimit int
}