-
Notifications
You must be signed in to change notification settings - Fork 52
Add operators base #713
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
Open
abnegate
wants to merge
54
commits into
main
Choose a base branch
from
feat-operators
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add operators base #713
Changes from 37 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
7ecf18d
Add operators base
abnegate 9e1c1d5
Fix tests
abnegate 24844c6
Fix tests
abnegate 8d0d7cd
Fix pg + sqlite
abnegate 151ba92
Fix stan
abnegate 5ccd877
Add more tests
abnegate 943a3e4
Add edge case tests
abnegate 377e976
Fix tests
abnegate b4f0db4
Fix mysql array unique
abnegate 149eb33
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate 8a3367c
Fix double encode
abnegate f13c44b
Improve validation
abnegate 9495986
Fix postgres array insert
abnegate 0820f78
Fix sqlite array insert + throw on power
abnegate 7348b84
Add custom test scope for operators
abnegate 77dba52
Allow operators on upsert
abnegate f6eafa2
Fix stan
abnegate 60aa3d4
Merge branch 'main' into feat-operators
abnegate 1de6660
Gated SQLite pow
abnegate ba945da
Merge branch 'feat-operators' of github.com:utopia-php/database into …
abnegate 2315a21
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate 04d4a22
Edge case tests + extra pre-validation
abnegate d5263ae
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate e157a8d
Fix adapter impl for array ops
abnegate 287efa2
Fix maria overflow + json path
abnegate 120c0ae
Fix sqlite exceptions
abnegate d104e51
Process numeric bounds exceptions
abnegate 412d43a
Add operator benchmarks
abnegate 370234b
Tweak performance on numeric/array ops
abnegate 91f872b
Fix overflow at numeric bounds
abnegate bb573d5
Fix tests
abnegate a1bad2a
Improve benchmark output
abnegate 9a5e7ef
Update src/Database/Database.php
abnegate 6d82265
Address review comments
abnegate 348d673
Merge branch 'feat-operators' of github.com:utopia-php/database into …
abnegate 01766ea
Consistent messages
abnegate f3fad9d
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate 0a6f037
Fix bulk upsert
abnegate bc77665
Allow upsert operator on new docs
abnegate cbf5989
Default on insert with operator
abnegate ae4402c
Trim on numerics
abnegate 8e33e2b
Fallback to empty array if null
abnegate fd22110
Fix filter match
abnegate d4cbc8d
Update src/Database/Validator/Operator.php
abnegate 664b451
Update src/Database/Validator/Operator.php
abnegate 486c7c6
Fix spatial handling
abnegate eef05bc
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate 56dac9c
Merge branch 'feat-operators' of github.com:utopia-php/database into …
abnegate e91fc93
Fix code formatting in SQL.php
abnegate f6f7613
Fix test failures
abnegate 6ca8dcd
Add negative multiplier/divisor support to SQLite adapter
abnegate 336b44b
Disable operators for Mongo
abnegate de75835
Fix tests
abnegate b4ff7db
Fix pool + stan
abnegate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #!/bin/sh | ||
|
|
||
| php /usr/src/code/bin/cli.php operators $@ | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.