MCPcopy Create free account
hub / github.com/golang/appengine / KeysOnly

Method KeysOnly

datastore/query.go:222–226  ·  view source on GitHub ↗

KeysOnly returns a derivative query that yields only keys, not keys and entities. It cannot be used with projection queries.

()

Source from the content-addressed store, hash-verified

220// KeysOnly returns a derivative query that yields only keys, not keys and
221// entities. It cannot be used with projection queries.
222func (q *Query) KeysOnly() *Query {
223 q = q.clone()
224 q.keysOnly = true
225 return q
226}
227
228// Limit returns a derivative query that has a limit on the number of results
229// returned. A negative value means unlimited.

Callers 4

NamespacesFunction · 0.45
KindsFunction · 0.45
TestQueryToProtoFunction · 0.45
AllocateIDRangeFunction · 0.45

Calls 1

cloneMethod · 0.95

Tested by 1

TestQueryToProtoFunction · 0.36