MCPcopy Create free account
hub / github.com/apecloud/myduckserver / Provider

Method Provider

backend/session.go:42–44  ·  view source on GitHub ↗

Provider returns the database provider for the session.

()

Source from the content-addressed store, hash-verified

40
41type SessionOption func(*Session)
42
43// WithQueryRowLimit limits the number of rows returned by queries in a session.
44// A limit of zero leaves query results unlimited.
45func WithQueryRowLimit(limit uint64) SessionOption {
46 return func(sess *Session) {
47 sess.queryRowLimit = limit

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected