MCPcopy
hub / github.com/cayleygraph/cayley / Select

Struct Select

graph/sql/shape.go:262–273  ·  view source on GitHub ↗

Select is a simplified representation of SQL SELECT query.

Source from the content-addressed store, hash-verified

260
261// Select is a simplified representation of SQL SELECT query.
262type Select struct {
263 Fields []Field
264 From []Source
265 Where []Where
266 Params []Value
267 Limit int64
268 Offset int64
269
270 // TODO(dennwc): this field in unexported because we don't want it to a be a part of the API
271 // however, it's necessary to make NodesFrom optimizations to work with SQL
272 nextPath bool
273}
274
275func (s Select) Clone() Select {
276 s.Fields = append([]Field{}, s.Fields...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected