File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,9 @@ object that links to the collection. To create the object, use the ``AsQueryable
68
68
as follows:
69
69
70
70
.. code-block:: csharp
71
- :emphasize-lines: 2
71
+ :emphasize-lines: 3
72
72
73
+ var restaurantsDatabase = client.GetDatabase("sample_restaurants")
73
74
var restaurantsCollection = restaurantsDatabase.GetCollection<Restaurant>("restaurants");
74
75
var queryableCollection = restaurantsCollection.AsQueryable();
75
76
@@ -587,6 +588,33 @@ in the Atlas manual. For more examples about running Atlas Vector Search queries
587
588
{+driver-short+}, see :atlas:`Run Vector Search Queries </atlas-vector-search/vector-search-stage/>`
588
589
in the Atlas manual and select :guilabel:`C#` from the language dropdown.
589
590
591
+ $bitAnd
592
+ ~~~~~~~
593
+
594
+ The ``$bitAnd`` aggregation stage performs a bitwise AND operation on the list
595
+ of arguments. The arguments should be a list of ``NumberInt`` and ``NumberLong`` //check these out
596
+ values.
597
+
598
+ // 2 arguments <-- the example should correspond to the pagewide example
599
+ // 3 arguments
600
+
601
+
602
+ // restaurants collection
603
+
604
+
605
+ $bitOr
606
+ ~~~~~~
607
+
608
+
609
+ $bitNot
610
+ ~~~~~~~
611
+
612
+
613
+ $bitXor
614
+ ~~~~~~~
615
+
616
+ // at the end, add note about the behaviors
617
+
590
618
Unsupported Aggregation Stages
591
619
------------------------------
592
620
You can’t perform that action at this time.
0 commit comments