MCPcopy Create free account
hub / github.com/daodst/chat / QueryProvider

Interface QueryProvider

internal/sqlutil/sql.go:123–125  ·  view source on GitHub ↗

QueryProvider defines the interface for querys used by RunLimitedVariablesQuery.

Source from the content-addressed store, hash-verified

121
122// QueryProvider defines the interface for querys used by RunLimitedVariablesQuery.
123type QueryProvider interface {
124 QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
125}
126
127// SQLite3MaxVariables is the default maximum number of host parameters in a single SQL statement
128// SQLlite can handle. See https://www.sqlite.org/limits.html for more information.

Callers 8

SelectKeyChangesMethod · 0.80
SelectOneTimeKeysMethod · 0.80
CountOneTimeKeysMethod · 0.80
InsertOneTimeKeysMethod · 0.80
SelectBatchDeviceKeysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected