MCPcopy Create free account
hub / github.com/auula/gsql / One

Method One

selector.go:230–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230func (q *Query) One() (error, string) {
231 err, s := q.Build()
232 if err != nil {
233 return err, ""
234 }
235 return nil, fmt.Sprintf("%s LIMIT 1", s)
236}
237
238func (q *Query) ById(id int) Builder {
239

Callers

nothing calls this directly

Calls 1

BuildMethod · 0.95

Tested by

no test coverage detected