mirror of
https://github.com/fiatjaf/khatru.git
synced 2026-04-05 21:16:50 +02:00
Adds a QueryLimit to `type PostgresBackend` and retains the current default value of 100. Closes #60
12 lines
138 B
Go
12 lines
138 B
Go
package postgresql
|
|
|
|
import (
|
|
"github.com/jmoiron/sqlx"
|
|
)
|
|
|
|
type PostgresBackend struct {
|
|
*sqlx.DB
|
|
DatabaseURL string
|
|
QueryLimit int
|
|
}
|