You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mingard projections are already supported, e.g. db.select({name: {$e1: "name"}}).from({$e1: Object})
Granted the documentation in README.md only provides the signature and not an example, i.e. A <projection> takes the form {<propertyName: {<classVariable: "<objectProperty>"}[, ...]}.
To retrieve only the fields you need, it could be useful to extend the
.select()
method to limit the returned fields. Something like:also accepting arrays:
The text was updated successfully, but these errors were encountered: