Return Pika[T] instead of private innerDB for base.Q

This commit is contained in:
Mustafa Gezen 2023-09-03 07:46:15 +02:00
parent 6540ef8d72
commit 3bcc4223ff
Signed by: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -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}
}