Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,10 @@ func (m *Mock) Exec(ctx context.Context, q Query) error {
return err
}

func (m *Mock) Close(optArgs ...CloseOpts) error {
return nil
}

func (m *Mock) newQuery(t Term, opts map[string]interface{}) (Query, error) {
return newQuery(t, opts, &m.opts)
}
Expand Down
1 change: 1 addition & 0 deletions query.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ type QueryExecutor interface {
IsConnected() bool
Query(context.Context, Query) (*Cursor, error)
Exec(context.Context, Query) error
Close(optArgs ...CloseOpts) error

newQuery(t Term, opts map[string]interface{}) (Query, error)
}
Expand Down