Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support expr in queries #2343

Open
wants to merge 35 commits into
base: 2.10.x
Choose a base branch
from

Commits on Jul 17, 2021

  1. + implement $expr operator as exprOp method for query and aggregation…

    … builders
    
    + add createExpr and depreciation notice for Builder::expr for further revision of exprOp method naming to expr
    Vincent Le Henaff committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    5264e26 View commit details
    Browse the repository at this point in the history
  2. * fix MatchStage expr revision introduced bug

    Vincent Le Henaff committed Jul 17, 2021
    Configuration menu
    Copy the full SHA
    4725c19 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2021

  1. + add exprOp test

    + add contextual missing type hint for exprOr
    Vincent Le Henaff committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    0a38fa5 View commit details
    Browse the repository at this point in the history
  2. + fix exprOp test

    Vincent Le Henaff committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    c319eca View commit details
    Browse the repository at this point in the history
  3. + fix exprOp test

    Vincent Le Henaff committed Jul 18, 2021
    Configuration menu
    Copy the full SHA
    7ba6315 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Merge remote-tracking branch 'origin/2.3.x' into support-expr-in-queries

    # Conflicts:
    #	composer.json
    #	lib/Doctrine/ODM/MongoDB/Persisters/PersistenceBuilder.php
    #	lib/Doctrine/ODM/MongoDB/Query/Expr.php
    #	phpstan-baseline.neon
    #	tests/Doctrine/ODM/MongoDB/Tests/Mapping/ClassMetadataTest.php
    Vincent Le Henaff committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    61aafa3 View commit details
    Browse the repository at this point in the history
  2. + update methods name refactoring as suggested in PR doctrine#2343 (e…

    …xprOr to aggregationExpression and createExpr to createQueryExpression and createAggregationExpression)
    
    + add depreciation triggers
    + refactoring associated tests
    - remove unnecessary exprOp in Aggregation\Expr
    Vincent Le Henaff committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    06a95f1 View commit details
    Browse the repository at this point in the history
  3. Merge branch '2.3.x' into support-expr-in-queries

    # Conflicts:
    #	composer.json
    #	lib/Doctrine/ODM/MongoDB/Persisters/PersistenceBuilder.php
    #	lib/Doctrine/ODM/MongoDB/Query/Expr.php
    #	phpstan-baseline.neon
    Vincent Le Henaff committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    3de0efb View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. + used phpcbf on /lib

    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    fe79bbd View commit details
    Browse the repository at this point in the history
  2. + used phpcbf on /tests

    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    898ce49 View commit details
    Browse the repository at this point in the history
  3. + implement $expr operator as exprOp method for query and aggregation…

    … builders
    
    + add createExpr and depreciation notice for Builder::expr for further revision of exprOp method naming to expr
    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    5b6a368 View commit details
    Browse the repository at this point in the history
  4. * fix MatchStage expr revision introduced bug

    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    e865bd0 View commit details
    Browse the repository at this point in the history
  5. + add exprOp test

    + add contextual missing type hint for exprOr
    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    4285401 View commit details
    Browse the repository at this point in the history
  6. + fix exprOp test

    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    eece492 View commit details
    Browse the repository at this point in the history
  7. + fix exprOp test

    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    8e4ea1b View commit details
    Browse the repository at this point in the history
  8. + update methods name refactoring as suggested in PR doctrine#2343 (e…

    …xprOr to aggregationExpression and createExpr to createQueryExpression and createAggregationExpression)
    
    + add depreciation triggers
    + refactoring associated tests
    - remove unnecessary exprOp in Aggregation\Expr
    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    ccaa1a4 View commit details
    Browse the repository at this point in the history
  9. + rebase on newer 2.3.x

    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    110375e View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'fork/support-expr-in-queries' into supp…

    …ort-expr-in-queries
    
    # Conflicts:
    #	lib/Doctrine/ODM/MongoDB/Iterator/PrimingIterator.php
    #	lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadata.php
    Vincent Le Henaff committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    caf12dd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d1660cd View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. + implement $expr operator as exprOp method for query and aggregation…

    … builders
    
    + add createExpr and depreciation notice for Builder::expr for further revision of exprOp method naming to expr
    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    0b458de View commit details
    Browse the repository at this point in the history
  2. * fix MatchStage expr revision introduced bug

    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    839adc2 View commit details
    Browse the repository at this point in the history
  3. + add exprOp test

    + add contextual missing type hint for exprOr
    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    fb14785 View commit details
    Browse the repository at this point in the history
  4. + fix exprOp test

    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    906d5bc View commit details
    Browse the repository at this point in the history
  5. + fix exprOp test

    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    67e6913 View commit details
    Browse the repository at this point in the history
  6. + update methods name refactoring as suggested in PR doctrine#2343 (e…

    …xprOr to aggregationExpression and createExpr to createQueryExpression and createAggregationExpression)
    
    + add depreciation triggers
    + refactoring associated tests
    - remove unnecessary exprOp in Aggregation\Expr
    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    b387bff View commit details
    Browse the repository at this point in the history
  7. + rebase on newer 2.3.x

    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    372a27b View commit details
    Browse the repository at this point in the history
  8. + used phpcbf on /tests

    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    9d5845c View commit details
    Browse the repository at this point in the history
  9. - remove test on previously removed method (aggregationExpression)

    Vincent Le Henaff authored and Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    c30899b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a3dfb0d View commit details
    Browse the repository at this point in the history
  11. Merge remote-tracking branch 'origin/support-expr-in-queries' into su…

    …pport-expr-in-queries
    
    # Conflicts:
    #	lib/Doctrine/ODM/MongoDB/Aggregation/Builder.php
    #	lib/Doctrine/ODM/MongoDB/Aggregation/Expr.php
    #	lib/Doctrine/ODM/MongoDB/Aggregation/Stage/MatchStage.php
    #	lib/Doctrine/ODM/MongoDB/Configuration.php
    #	lib/Doctrine/ODM/MongoDB/Persisters/DocumentPersister.php
    #	lib/Doctrine/ODM/MongoDB/Query/Builder.php
    Protocteur committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    a9b8dd6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9746da5 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a28c84c View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2022

  1. Configuration menu
    Copy the full SHA
    771b43d View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2022

  1. + replaced Query\Builder::expr() calls to Query\Builder::createQueryE…

    …xpression()
    
    + replaced Aggregation\Builder::expr() calls to Aggregation\Builder::createAggregationExpression()
    + minor psalm docblock update
    Protocteur committed Nov 6, 2022
    Configuration menu
    Copy the full SHA
    eb60a6f View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Configuration menu
    Copy the full SHA
    b5b2a82 View commit details
    Browse the repository at this point in the history