We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e3a9d commit acfb65bCopy full SHA for acfb65b
source/interact-data/scoping.txt
@@ -117,6 +117,7 @@ retrieve documents in which the ``active`` field value is ``true``:
117
:end-before: end-default-scope-1
118
:language: ruby
119
:dedent:
120
+ :emphasize-lines: 7
121
122
Then, any queries on the ``Band`` model pre-filter for documents in which the
123
``active`` value is ``true``.
@@ -139,6 +140,7 @@ as boolean values or integers.
139
140
:end-before: end-default-scope-2
141
142
143
+ :emphasize-lines: 5, 7
144
145
We do not recommend using dot notation to reference nested fields in default
146
scopes. This can direct {+odm+} to initialize unexpected fields in new
0 commit comments