MCPcopy
hub / github.com/pocketbase/pocketbase / Query

Method Query

tools/search/provider.go:116–119  ·  view source on GitHub ↗

Query sets the base query that will be used to fetch the search items.

(query *dbx.SelectQuery)

Source from the content-addressed store, hash-verified

114
115// Query sets the base query that will be used to fetch the search items.
116func (s *Provider) Query(query *dbx.SelectQuery) *Provider {
117 s.query = query
118 return s
119}
120
121// SkipTotal changes the `skipTotal` field of the current search provider.
122func (s *Provider) SkipTotal(skipTotal bool) *Provider {

Callers 15

TestFetchFunction · 0.80
TestProviderQueryFunction · 0.80
TestProviderParseAndExecFunction · 0.80
TestFileSystemServeFunction · 0.80
ServeMethod · 0.80
signMethod · 0.80
JSONMethod · 0.80
SubscribeMethod · 0.80
initRequestInfoMethod · 0.80

Calls

no outgoing calls

Tested by 9

TestFetchFunction · 0.64
TestProviderQueryFunction · 0.64
TestProviderParseAndExecFunction · 0.64
TestFileSystemServeFunction · 0.64
TestBindHTTPSendFunction · 0.64