@@ -25,19 +25,19 @@ type (
2525 //
2626 // Exec used by default:
2727 // - DefaultTxControl
28- Query (ctx context.Context , query string , opts ... options.Execute ) (r Result , err error )
28+ Query (ctx context.Context , query string , opts ... options.Execute ) (Result , error )
2929
3030 // QueryResultSet execute query and take the exactly single materialized result set from result
3131 //
3232 // Exec used by default:
3333 // - DefaultTxControl
34- QueryResultSet (ctx context.Context , query string , opts ... options.Execute ) (rs ResultSet , err error )
34+ QueryResultSet (ctx context.Context , query string , opts ... options.Execute ) (resultSetWithClose , error )
3535
3636 // QueryRow execute query and take the exactly single row from exactly single result set from result
3737 //
3838 // Exec used by default:
3939 // - DefaultTxControl
40- QueryRow (ctx context.Context , query string , opts ... options.Execute ) (row Row , err error )
40+ QueryRow (ctx context.Context , query string , opts ... options.Execute ) (Row , error )
4141 }
4242 // Client defines API of query client
4343 //
@@ -80,14 +80,14 @@ type (
8080 //
8181 // Exec used by default:
8282 // - DefaultTxControl
83- Query (ctx context.Context , query string , opts ... options.Execute ) (r Result , err error )
83+ Query (ctx context.Context , query string , opts ... options.Execute ) (Result , error )
8484
8585 // QueryResultSet is a helper which read all rows from first result set in result
8686 //
8787 // Warning: the large result set from query will be materialized and can happened to "OOM killed" problem
8888 //
8989 // Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental
90- QueryResultSet (ctx context.Context , query string , opts ... options.Execute ) (ResultSet , error )
90+ QueryResultSet (ctx context.Context , query string , opts ... options.Execute ) (resultSetWithClose , error )
9191
9292 // QueryRow is a helper which read only one row from first result set in result
9393 //
0 commit comments