mirror of
https://github.com/aljazceru/khatru.git
synced 2026-01-11 09:24:21 +01: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
|
|
}
|