MCPcopy Index your code
hub / github.com/prest/prest / Query

Method Query

adapters/query_executor.go:7–7  ·  view source on GitHub ↗
(SQL string, params ...interface{})

Source from the content-addressed store, hash-verified

5// QueryExecutor runs SQL statements against the database.
6type QueryExecutor interface {
7 Query(SQL string, params ...interface{}) (sc Scanner)
8 QueryCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner)
9 QueryCount(SQL string, params ...interface{}) (sc Scanner)
10 QueryCountCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner)

Callers 15

TestEmptyTableFunction · 0.65
TestQueryFunction · 0.65
TestInvalidQueryFunction · 0.65
TestCacheQueryFunction · 0.65
TestDisableCacheFunction · 0.65
ListDatabasesMethod · 0.65
ListSchemasMethod · 0.65
ListTablesMethod · 0.65

Implementers 6

Postgresadapters/postgres/postgres.go
MockQueryExecutoradapters/mockgen/query_executor.go
MockQueryExecutorMockRecorderadapters/mockgen/query_executor.go
MockAdapteradapters/mockgen/adapter.go
MockAdapterMockRecorderadapters/mockgen/adapter.go
Mockadapters/mock/mock.go

Calls

no outgoing calls