Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
230
func
(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
238
func
(q *Query) ById(id int) Builder {
239
Callers
nothing calls this directly
Calls
1
Build
Method · 0.95
Tested by
no test coverage detected