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

Add @upsert directive and nested mutation operations to create or update a model regardless whether it exists #1005

Merged
merged 32 commits into from Oct 15, 2019
Merged

Add @upsert directive and nested mutation operations to create or update a model regardless whether it exists #1005

merged 32 commits into from Oct 15, 2019

Commits on Oct 11, 2019

  1. Partial upsert implementation with BelongToMany test

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    2c5caf4 View commit details
    Browse the repository at this point in the history
  2. Fix StyleCI

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    1ca2119 View commit details
    Browse the repository at this point in the history
  3. Fix PHPDoc

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    c5447c4 View commit details
    Browse the repository at this point in the history
  4. Add info to unreleased section of the changelog

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    2e44268 View commit details
    Browse the repository at this point in the history
  5. BelongsToMany upsert ready

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    6c5f541 View commit details
    Browse the repository at this point in the history
  6. BelongsTo upsert ready

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    24da674 View commit details
    Browse the repository at this point in the history
  7. Add HasMany to upsert

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    0ae0d53 View commit details
    Browse the repository at this point in the history
  8. Fix StyleCI

    Jose Manuel Cardona committed Oct 11, 2019
    Copy the full SHA
    f2d599b View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2019

  1. Add HasOne to upsert

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    583b239 View commit details
    Browse the repository at this point in the history
  2. Add missing tests

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    feace74 View commit details
    Browse the repository at this point in the history
  3. Add MorphToMany to upsert

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    68a2e5d View commit details
    Browse the repository at this point in the history
  4. Add MorphOne to upsert

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    a075834 View commit details
    Browse the repository at this point in the history
  5. Add MorphToMany to upsert

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    80bc88f View commit details
    Browse the repository at this point in the history
  6. Add MorphTo to upsert

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    7da6681 View commit details
    Browse the repository at this point in the history
  7. Add documentation

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    dc7d87b View commit details
    Browse the repository at this point in the history
  8. Add documentation to v4.4

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    869622b View commit details
    Browse the repository at this point in the history
  9. Update CHANGELOG.md

    Co-Authored-By: Benedikt Franke <benedikt@franke.tech>
    joskfg and spawnia committed Oct 12, 2019
    Copy the full SHA
    7456e8c View commit details
    Browse the repository at this point in the history
  10. Remove @upsert from 4.4.0 docs

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    f579c05 View commit details
    Browse the repository at this point in the history
  11. Fix StyleCI

    Jose Manuel Cardona committed Oct 12, 2019
    Copy the full SHA
    e307b58 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2019

  1. Refactor upsert and update

    Jose Manuel Cardona committed Oct 13, 2019
    Copy the full SHA
    b48d1a6 View commit details
    Browse the repository at this point in the history
  2. Refactor Create/Update/Upsert directives to DRY

    Jose Manuel Cardona committed Oct 13, 2019
    6
    Copy the full SHA
    87eec45 View commit details
    Browse the repository at this point in the history
  3. Fix StyleCI

    Jose Manuel Cardona committed Oct 13, 2019
    Copy the full SHA
    5e4d232 View commit details
    Browse the repository at this point in the history
  4. Upgade documentation to be more clear

    Jose Manuel Cardona committed Oct 13, 2019
    Copy the full SHA
    38ea803 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2019

  1. Improve executeUpsert check

    Jose Manuel Cardona committed Oct 14, 2019
    Copy the full SHA
    1d12f1b View commit details
    Browse the repository at this point in the history
  2. Fix StyleCI

    Jose Manuel Cardona committed Oct 14, 2019
    Copy the full SHA
    ea87ded View commit details
    Browse the repository at this point in the history
  3. Fix issue when creating without autoincrement key

    Jose Manuel Cardona committed Oct 14, 2019
    Copy the full SHA
    8d78822 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    5be34ff View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    85dcd3a View commit details
    Browse the repository at this point in the history
  6. Some wording in the docs

    spawnia committed Oct 14, 2019
    Copy the full SHA
    230b95d View commit details
    Browse the repository at this point in the history
  7. Fix syntax

    spawnia committed Oct 14, 2019
    Copy the full SHA
    174464f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2019

  1. Force different ids in upsert to check that it actually uses it

    Jose Manuel Cardona committed Oct 15, 2019
    Copy the full SHA
    cc9fb65 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    spawnia committed Oct 15, 2019
    Copy the full SHA
    8a53ace View commit details
    Browse the repository at this point in the history