mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:37:30 +00:00
fix missed query row
This commit is contained in:
@@ -43,7 +43,7 @@ func (c *pgxConn) Query(ctx context.Context, sql string, args ...any) (database.
|
|||||||
// QueryRow implements sql.Client.
|
// QueryRow implements sql.Client.
|
||||||
// Subtle: this method shadows the method (*Conn).QueryRow of pgxConn.Conn.
|
// Subtle: this method shadows the method (*Conn).QueryRow of pgxConn.Conn.
|
||||||
func (c *pgxConn) QueryRow(ctx context.Context, sql string, args ...any) database.Row {
|
func (c *pgxConn) QueryRow(ctx context.Context, sql string, args ...any) database.Row {
|
||||||
return c.Conn.QueryRow(ctx, sql, args...)
|
return &Row{c.Conn.QueryRow(ctx, sql, args...)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exec implements [database.Pool].
|
// Exec implements [database.Pool].
|
||||||
|
Reference in New Issue
Block a user