summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-261-170/+114
|
* SERVER-40383 Handle week, day edge cases in timelib_date_from_isodateJustin Seyster2019-07-011-12/+47
| | | | (cherry picked from commit d4843fc49931c7ce4332dc373623267c293eb518)
* SERVER-41065 Make agg evaluate() thread safe by passing 'Variables' as a ↵Arun Banala2019-06-121-235/+258
| | | | | | parameter (cherry picked from commit ab9d3aaad1cb9ad42063c1291ea07e321260a3d1)
* SERVER-41257 Disallow persisting new 4.2 expressions in FCV 4.0Charlie Swanson2019-05-221-4/+40
|
* SERVER-40555 add searchSnippet metadataIan Boros2019-05-201-0/+10
|
* SERVER-40016 Add searchScore metadata handlingEvan Nixon2019-05-141-0/+7
|
* SERVER-40055 Consolidate $round behavior with and without a defaultCharlie Swanson2019-05-071-24/+16
|
* SERVER-40526 fix lintIan Boros2019-05-031-1/+1
|
* SERVER-40526 Make agg Expressions walkableJacob Evans2019-05-031-291/+402
|
* Revert "SERVER-40526 Make agg Expressions walkable"Jacob Evans2019-05-021-401/+291
| | | | This reverts commit e549f39cd70a51054a48aa8765558db6b03b1df3.
* SERVER-40526 Make agg Expressions walkableJacob Evans2019-05-011-291/+401
|
* SERVER-40584 Regex agg expressions should not inherit from ExpressionFixedArityArun Banala2019-04-301-102/+107
|
* SERVER-40083 Don't recompile each time $regex is evaluated when regex ↵Arun Banala2019-04-261-200/+244
| | | | argument is a constant
* Revert "SERVER-40083 Don't recompile each time $regex is evaluated when ↵Ian Boros2019-04-231-244/+200
| | | | | | regex argument is a constant" This reverts commit a60f6a53734fa3a022e9ba39bbdab95608ba9108.
* Revert "SERVER-40083 Rename 'pcre' variable to fix compile issue becase of ↵Ian Boros2019-04-231-5/+5
| | | | | | typedef conflict" This reverts commit 0e367bc76f23d6d876caa00a47700b3634402817.
* SERVER-40083 Rename 'pcre' variable to fix compile issue becase of typedef ↵Arun Banala2019-04-231-5/+5
| | | | conflict
* SERVER-40083 Don't recompile each time $regex is evaluated when regex ↵Arun Banala2019-04-231-200/+244
| | | | argument is a constant
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-3/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-40476 remove mongoutils::str::equalsBilly Donahue2019-04-081-17/+17
|
* SERVER-40213 Test upgrade/downgrade for $$NOW/$$CLUSTER_TIME in a view ↵Martin Neupauer2019-04-021-1/+16
| | | | definition
* SERVER-40343 Better handling of errors from PCRE in $regex expressionsArun Banala2019-04-011-4/+9
|
* SERVER-37848 Test $regex agg expressions with regex that meets and exceeds ↵Arun Banala2019-03-271-2/+9
| | | | the capture limit
* SERVER-40140 Fix Coverity analysis defect: Improper use of negative valueArun Banala2019-03-261-3/+1
|
* SERVER-39694 Fix undefined behaviour with string.front() when emptyArun Banala2019-03-201-1/+1
|
* SERVER-39694 Implement $regexMatch as syntactic sugar on top of $regexFindArun Banala2019-03-201-11/+28
|
* SERVER-39696 Implement $regexFindAllArun Banala2019-03-201-114/+224
|
* SERVER-39695 Implement $regexFindArun Banala2019-03-131-0/+139
|
* SERVER-15926: Implement $round function and allow a precision argument for ↵Patrick Meredith2019-02-141-10/+108
| | | | | | | | $trunc Closes #1297 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37183 Safer bound for safeNumberLong()Justin Seyster2018-12-071-4/+1
|
* SERVER-38070 Fix infinite loop in agg expressionIan Boros2018-11-151-110/+152
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-37182 Correctly handle duplicate fields in $arrayToObjectIan Boros2018-10-101-2/+2
|
* SERVER-35905 Add logic to detect when $out is eligible for an exchangeCharlie Swanson2018-08-241-0/+10
|
* SERVER-35655 Update FCV constants throughout server code.Blake Oler2018-07-021-50/+0
| | | | | | | | | SERVER-35169 Bump wire protocol version for 4.2. SERVER-35752 Ensure tests that rely on FCV pass after updating FCV constants. SERVER-35163 Unblacklist tests that expect FCV version to differ between "last-stable" and "latest." SERVER-34984 Update major_version_upgrade.js to call setFCV to the latest FCV. SERVER-35656 Ensure a 4.0 mongos crashes upon attempting to connect to an FCV 4.2 cluster. SERVER-35404 Re-enable the sharding_last_stable_mongos_and_mixed_shards suite.
* SERVER-35043, SERVER-22949: move geoNear implementation into aggregationKyle Suarez2018-06-181-1/+1
| | | | | | | | | | This commit removes the geoNear command and moves its implementation into the aggregation framework. Users should use the aggregate command with a $geoNear stage. The implementation rewrite additionally removes the limit in the $geoNear aggregation stage. To limit the number of results, use a $limit stage.
* SERVER-35119 Remove FCV restrictions on new-in-4.0 expressionsCharlie Swanson2018-06-151-50/+12
|
* SERVER-25957 Optimize $indexOfArray when array argument is constant.KevinCybura2018-04-261-13/+112
| | | | | | Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com> Closes #1229
* SERVER-25173 $substrBytes now checks for negative valuesIan Boros2018-03-221-2/+14
|
* SERVER-33757 Unsupported target type in $convert is an "onError" case.Justin Seyster2018-03-211-23/+6
|
* SERVER-33598 Don't be a fool; convert your bool.Justin Seyster2018-03-061-6/+37
| | | | | | I overhead the above phrase being spoken in reference to a completely different project, but I thought it captured the spirit of this commit perfectly, so I shamelessly stole it.
* SERVER-27100 Optimize all-constant ExpressionObject to a constant.KevinCybura2018-03-021-0/+8
| | | | | | Closes #1213 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-33510 Add shorthand syntax for $convertCharlie Swanson2018-03-011-0/+65
|
* SERVER-32914 Add formatting conversions to $convertJustin Seyster2018-02-281-0/+43
|
* SERVER-33260 Log more helpful messages for FCV-related ↵Xiangyu Yao2018-02-271-7/+7
| | | | IncompatibleServerVersion errors
* SERVER-33169: Add string to date conversions to $convert3.6.3Nick Zolnierz2018-02-271-77/+109
|
* SERVER-33174 Prevent catalog storage of new syntax during lower FCVCharlie Swanson2018-02-271-10/+100
| | | | | This will prevent the persistence of expressions introduced in 4.0 while the server is in feature compatibility version (FCV) 3.6.
* SERVER-33171: Add number and objectID parsing conversions to $convertNick Zolnierz2018-02-261-0/+47
|
* SERVER-33168 Add number<->date conversions to $convertJustin Seyster2018-02-231-0/+49
|
* SERVER-33173: Make format parameter optional for "$dateToString"Nick Zolnierz2018-02-211-19/+46
|