MCPcopy Index your code
hub / github.com/MongoEngine/mongoengine / values_list

Method values_list

mongoengine/queryset/base.py:1293–1295  ·  view source on GitHub ↗

An alias for scalar

(self, *fields)

Source from the content-addressed store, hash-verified

1291 return queryset
1292
1293 def values_list(self, *fields):
1294 """An alias for scalar"""
1295 return self.scalar(*fields)
1296
1297 def as_pymongo(self):
1298 """Instead of returning Document instances, return raw values from

Callers

nothing calls this directly

Calls 1

scalarMethod · 0.95

Tested by

no test coverage detected