MCPcopy
hub / github.com/gtsteffaniak/filebrowser / Query

Method Query

backend/database/sql/sqlite.go:400–404  ·  view source on GitHub ↗

Query executes a query that returns rows. This is a convenience method that handles locking.

(query string, args ...interface{})

Source from the content-addressed store, hash-verified

398// Query executes a query that returns rows.
399// This is a convenience method that handles locking.
400func (t *TempDB) Query(query string, args ...interface{}) (*sql.Rows, error) {
401 t.mu.Lock()
402 defer t.mu.Unlock()
403 return t.db.Query(query, args...)
404}
405
406// QueryRow executes a query that is expected to return at most one row.
407// This is a convenience method that handles locking.

Callers 15

previewHandlerFunction · 0.80
previewHelperFuncFunction · 0.80
newTestRequestFunction · 0.80
prepDuplicatesOptionsFunction · 0.80
createApiTokenHandlerFunction · 0.80
deleteApiTokenHandlerFunction · 0.80
getApiTokenHandlerFunction · 0.80
BuildAndStreamArchiveFunction · 0.80
sseHandlerFunction · 0.80
pinnedItemActionFunction · 0.80

Calls

no outgoing calls

Tested by 1

newTestRequestFunction · 0.64