Searched refs:DOC_ARRAY (Results 1 – 6 of 6) sorted by relevance
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/pipeline/ |
H A D | document_source_unwind_test.cpp | 328 return {DOC("_id" << 0 << "a" << DOC_ARRAY(1))}; in inputData() 341 return {DOC("_id" << 0 << "a" << DOC_ARRAY(1 << 2))}; in inputData() 367 return {DOC("_id" << 0 << "a" << DOC_ARRAY(1 << 2)), in inputData() 368 DOC("_id" << 1 << "a" << DOC_ARRAY(3 << 4))}; in inputData() 436 return {DOC("_id" << 0 << "a" << DOC_ARRAY(1 << 2 << 3)), in inputData() 439 DOC("_id" << 3 << "a" << DOC_ARRAY(10 << 20)), in inputData() 440 DOC("_id" << 4 << "a" << DOC_ARRAY(30))}; in inputData() 479 DOC("_id" << 2 << "a" << DOC_ARRAY("a"_sd in inputData() 482 DOC("_id" << 4 << "a" << DOC_ARRAY(1 << 2 << 3)), in inputData() 483 DOC("_id" << 5 << "a" << DOC_ARRAY(4 << 5 << 6)), in inputData() [all …]
|
H A D | expression_test.cpp | 3652 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2) << DOC_ARRAY(1 << 2)) << "expected" in getSpec() 3665 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2) << DOC_ARRAY(1 << 2 << 2)) << "expected" in getSpec() 3679 "input" << DOC_ARRAY(DOC_ARRAY(1 << 1 << 2) << DOC_ARRAY(1 << 2 << 2)) << "expected" in getSpec() 3691 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2) << DOC_ARRAY(1)) << "expected" in getSpec() 3704 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2 << 2) << DOC_ARRAY(1)) << "expected" in getSpec() 3717 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1) << DOC_ARRAY(1 << 2)) << "expected" in getSpec() 3730 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2) << DOC_ARRAY(2 << 1)) << "expected" in getSpec() 3743 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2) << DOC_ARRAY(8 << 4)) << "expected" in getSpec() 3756 return DOC("input" << DOC_ARRAY(DOC_ARRAY(1 << 2) << DOC_ARRAY(8 << 2 << 4)) << "expected" in getSpec() 3858 "input" << DOC_ARRAY(DOC_ARRAY(8 << 3) << DOC_ARRAY("asdf"_sd in getSpec() [all …]
|
H A D | document_source_sort_test.cpp | 160 DOC_ARRAY(DOC("$sort" << DOC("a" << 1)) << DOC("$limit" << sort()->getLimit()))); in TEST_F() 344 checkResults({Document{{"_id", 0}, {"a", DOC_ARRAY(1)}}, in TEST_F() 345 Document{{"_id", 1}, {"a", DOC_ARRAY(DOC("b" << 1))}}}, in TEST_F() 352 checkResults({Document{{"_id", 0}, {"a", DOC_ARRAY(DOC("b" << 1) << DOC("b" << 2))}}, in TEST_F() 353 Document{{"_id", 1}, {"a", DOC_ARRAY(DOC("b" << 1) << DOC("b" << 0))}}}, in TEST_F()
|
H A D | document.h | 631 #define DOC_ARRAY(fields) ((ValueArrayStream() << fields).done()) macro
|
H A D | document_value_test.cpp | 622 ASSERT_VALUE_EQ(Value(BSON_ARRAY(1 << 2 << 3)), DOC_ARRAY(1 << 2 << 3)); in run()
|
H A D | expression.cpp | 719 return Value(DOC(name << DOC_ARRAY(pExpression->serialize(explain)))); in serialize()
|