MCPcopy
hub / github.com/daptin/daptin / Select

Method Select

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

Source from the content-addressed store, hash-verified

150}
151
152func (imtd *InMemoryTestDatabase) Select(dest interface{}, query string, args ...interface{}) error {
153 if imtd.queries == nil {
154 imtd.queries = make([]string, 0)
155 }
156
157 imtd.queries = append(imtd.queries, query)
158 return imtd.db.Select(dest, query, args...)
159
160}
161
162func (imtd *InMemoryTestDatabase) Get(dest interface{}, query string, args ...interface{}) error {
163 if imtd.queries == nil {

Callers

nothing calls this directly

Calls 2

makeFunction · 0.85
SelectMethod · 0.65

Tested by

no test coverage detected