MCPcopy Create free account
hub / github.com/corestoreio/pkg / sqlWriteLimitOffset

Function sqlWriteLimitOffset

sql/dml/builder.go:240–249  ·  view source on GitHub ↗

LIMIT 0,0 quickly returns an empty set. This can be useful for checking the validity of a query. When using one of the MySQL APIs, it can also be employed for obtaining the types of the result columns.

(w *bytes.Buffer, limitValid, offsetValid bool, offsetCount, limitCount uint64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

toSQLMethod · 0.85
toSQLMethod · 0.85
prepareQueryAndArgsMethod · 0.85
toSQLMethod · 0.85

Calls 3

writeNumberFunction · 0.85
WriteStringMethod · 0.80
WriteByteMethod · 0.80

Tested by

no test coverage detected