summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/expression.h
Commit message (Collapse)AuthorAgeFilesLines
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-261-15/+7
|
* SERVER-40383 Handle week, day edge cases in timelib_date_from_isodateJustin Seyster2019-07-011-1/+19
| | | | (cherry picked from commit d4843fc49931c7ce4332dc373623267c293eb518)
* SERVER-41332 Fix incorrect getterJacob Evans2019-06-131-2/+2
|
* SERVER-41332 Add more getters to expression.hJacob Evans2019-06-131-0/+4
|
* SERVER-41065 Make agg evaluate() thread safe by passing 'Variables' as a ↵Arun Banala2019-06-121-89/+94
| | | | | | parameter (cherry picked from commit ab9d3aaad1cb9ad42063c1291ea07e321260a3d1)
* SERVER-41473 Add ExpressionFieldPath accessor that removes "CURRENT..."Jacob Evans2019-06-061-0/+4
| | | | (cherry picked from commit 0189411db2eb9ef6ca4d50f069e04d13b0456445)
* SERVER-39397 Add setter to ExpressionConstantJacob Evans2019-05-241-0/+4
|
* SERVER-41257 Disallow persisting new 4.2 expressions in FCV 4.0Charlie Swanson2019-05-221-0/+4
|
* SERVER-40555 add searchSnippet metadataIan Boros2019-05-201-0/+1
|
* SERVER-40913 Make agg Expression walkerJacob Evans2019-05-161-0/+3
|
* SERVER-40016 Add searchScore metadata handlingEvan Nixon2019-05-141-0/+1
|
* Revert "SERVER-40913 Make agg Expression walker"Jacob Evans2019-05-131-3/+0
| | | | This reverts commit bdaf2c9b3db159d2a28f214a5219a390b060c02c.
* SERVER-40913 Make agg Expression walkerJacob Evans2019-05-131-0/+3
|
* SERVER-40526 Make agg Expressions walkableJacob Evans2019-05-031-178/+240
|
* Revert "SERVER-40526 Make agg Expressions walkable"Jacob Evans2019-05-021-240/+178
| | | | This reverts commit e549f39cd70a51054a48aa8765558db6b03b1df3.
* SERVER-40526 Make agg Expressions walkableJacob Evans2019-05-011-178/+240
|
* SERVER-40584 Regex agg expressions should not inherit from ExpressionFixedArityArun Banala2019-04-301-45/+88
|
* SERVER-40083 Don't recompile each time $regex is evaluated when regex ↵Arun Banala2019-04-261-0/+99
| | | | argument is a constant
* Revert "SERVER-40083 Don't recompile each time $regex is evaluated when ↵Ian Boros2019-04-231-99/+0
| | | | | | 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-1/+1
| | | | | | typedef conflict" This reverts commit 0e367bc76f23d6d876caa00a47700b3634402817.
* SERVER-40083 Rename 'pcre' variable to fix compile issue becase of typedef ↵Arun Banala2019-04-231-1/+1
| | | | conflict
* SERVER-40083 Don't recompile each time $regex is evaluated when regex ↵Arun Banala2019-04-231-0/+99
| | | | argument is a constant
* SERVER-40527 Implement visitor for aggregation expressionsNick Zolnierz2019-04-101-1/+355
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-14/+11
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39694 Implement $regexMatch as syntactic sugar on top of $regexFindArun Banala2019-03-201-1/+10
|
* SERVER-39696 Implement $regexFindAllArun Banala2019-03-201-1/+10
|
* SERVER-39695 Implement $regexFindArun Banala2019-03-131-0/+9
|
* SERVER-15926: Implement $round function and allow a precision argument for ↵Patrick Meredith2019-02-141-3/+11
| | | | | | | | $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-38176 Compile with /permissive- on MSVC to make the compiler strictly ↵Henrik Edin2019-02-011-2/+2
| | | | standard conformant.
* SERVER-38812 Merge RefCountable improvements for Futures back to common ↵Mathias Stearn2019-01-231-2/+2
| | | | implementation
* SERVER-32930 Add trigonometric expressions to aggregationPatrick Meredith2018-12-221-2/+44
| | | | | | Closes #1287 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-37183 Safer bound for safeNumberLong()Justin Seyster2018-12-071-5/+0
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-21/+23
|
* SERVER-35905 Add logic to detect when $out is eligible for an exchangeCharlie Swanson2018-08-241-0/+6
|
* SERVER-25957 Optimize $indexOfArray when array argument is constant.KevinCybura2018-04-261-2/+29
| | | | | | Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com> Closes #1229
* SERVER-33510 Add shorthand syntax for $convertCharlie Swanson2018-03-011-0/+12
|
* SERVER-33174 Prevent catalog storage of new syntax during lower FCVCharlie Swanson2018-02-271-3/+24
| | | | | This will prevent the persistence of expressions introduced in 4.0 while the server is in feature compatibility version (FCV) 3.6.
* SERVER-33173: Make format parameter optional for "$dateToString"Nick Zolnierz2018-02-211-4/+4
|
* SERVER-32736: Add "onError" and "onNull" options to $dateFromStringNick Zolnierz2018-02-211-1/+5
|
* SERVER-32784 Move ExpressionConvert tests to separate file.Justin Seyster2018-02-201-13/+9
|
* SERVER-32784 Add $convert with typecast conversions.Justin Seyster2018-02-151-0/+35
|
* SERVER-33172: Add onNull parameter to $dateToStringNick Zolnierz2018-02-131-3/+5
|
* SERVER-30523: dateFromParts should not reject out-of-range numbers for ↵Nick Zolnierz2018-02-091-8/+14
| | | | date/time properties
* SERVER-31477 Add $trim, $ltrim and $rtrim expressions.Charlie Swanson2018-02-081-0/+68
|
* SERVER-32771: Add format specifier for $dateFromString expressionNick Zolnierz2018-02-051-1/+3
|
* SERVER-32007 Avoid unnecessary intrusive_ptr<Expression> copies in time ↵David Storch2017-11-171-1/+1
| | | | expression evaluation.
* SERVER-32007 Make evaluation of time-related agg expressions thread safe.David Storch2017-11-171-1/+1
|
* SERVER-31664 Fix use after free of OperationContext by ExpressionDate*James Wahlin2017-10-301-2/+4
| | | | | | Addresses the case where a time zone expression lives within a collection validator as part of a $expr expression. In this case, the Expression will outlive the OperationContext it was created under.
* SERVER-31322 Rename year and week field names for $dateToParts and ↵Katherine Walker2017-10-051-2/+2
| | | | $dateFromParts