mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 13:17:35 +00:00
19 lines
349 B
Go
19 lines
349 B
Go
![]() |
package postgres
|
||
|
|
||
|
import (
|
||
|
"github.com/jackc/pgx/v5"
|
||
|
|
||
|
"github.com/zitadel/zitadel/backend/v3/storage/database"
|
||
|
)
|
||
|
|
||
|
var _ database.Rows = (*Rows)(nil)
|
||
|
|
||
|
type Rows struct{ pgx.Rows }
|
||
|
|
||
|
// Close implements [database.Rows].
|
||
|
// Subtle: this method shadows the method (Rows).Close of Rows.Rows.
|
||
|
func (r *Rows) Close() error {
|
||
|
r.Rows.Close()
|
||
|
return nil
|
||
|
}
|