import from khatru.
This commit is contained in:
15
postgresql/postgresql.go
Normal file
15
postgresql/postgresql.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package postgresql
|
||||
|
||||
import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
)
|
||||
|
||||
type PostgresBackend struct {
|
||||
*sqlx.DB
|
||||
DatabaseURL string
|
||||
QueryLimit int
|
||||
QueryIDsLimit int
|
||||
QueryAuthorsLimit int
|
||||
QueryKindsLimit int
|
||||
QueryTagsLimit int
|
||||
}
|
||||
Reference in New Issue
Block a user