mirror of
https://github.com/peridotbuild/peridot.git
synced 2024-10-08 08:54:12 +00:00
Return Pika[T] instead of private innerDB for base.Q
This commit is contained in:
parent
6540ef8d72
commit
3bcc4223ff
@ -78,7 +78,7 @@ func NameGen(prefix string) string {
|
||||
}
|
||||
|
||||
//goland:noinspection GoExportedFuncWithUnexportedType
|
||||
func Q[T any](db *DB) *innerDB[T] {
|
||||
func Q[T any](db *DB) Pika[T] {
|
||||
return &innerDB[T]{pika.Q[T](db.PostgreSQL), db}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user