MCPcopy
hub / github.com/daptin/daptin / Queryx

Method Queryx

server/inmemory_mock_db.go:115–124  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

113 return imtd.db.Query(query, args...)
114}
115func (imtd *InMemoryTestDatabase) Queryx(query string, args ...interface{}) (*sqlx.Rows, error) {
116 if imtd.queries == nil {
117 imtd.queries = make([]string, 0)
118 }
119
120 imtd.queries = append(imtd.queries, query)
121
122 return imtd.db.Queryx(query, args...)
123
124}
125func (imtd *InMemoryTestDatabase) QueryRowx(query string, args ...interface{}) *sqlx.Row {
126 if imtd.queries == nil {
127 imtd.queries = make([]string, 0)

Callers 15

GetTablesFromWorldFunction · 0.80
DoActionMethod · 0.80
listMailboxesMethod · 0.80
latestMailMetadataMethod · 0.80
GetAllSitesFunction · 0.80
ReaddirMethod · 0.80
RelationNamesToIdsFunction · 0.80
ResolveDefaultGroupsFunction · 0.80

Calls 1

makeFunction · 0.85