-
Notifications
You must be signed in to change notification settings - Fork 55
Contains query v2 #377
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
Merged
Merged
Contains query v2 #377
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
fdbbb76
Add array contains support for SQL adapters
abnegate fc6b198
Remove dupe semicolon
abnegate e8295c1
Disable SQLite array contains
abnegate 2985269
Disallow contains queries on non-array attributes
abnegate 15ba9b1
Add test for non-array attribute
abnegate 7122006
Commit benchmark results for comparisons
abnegate f68bbef
Add contains queries to benchmarks
abnegate 893da60
lock file
fogelito 6a55fbd
Merge branch 'main' of github.com:utopia-php/database into feat-array…
fogelito 96c6945
Query name changes
fogelito 32d49fa
Remove old parse tests
fogelito 4149b7a
array changes and new test
fogelito 26a16f6
getSupportForIndexArray
fogelito 2ea81a1
find test
fogelito 54f6166
tests
fogelito 361f379
try json_overlaps
fogelito d441401
tests
fogelito 5a3d56f
createIndex order test
fogelito cc22abd
Order tests
fogelito 9846af4
Order tests
fogelito 619f797
Signature change create Index
fogelito 1ce5bdf
Change createIndex signature
fogelito 5f4e291
Mongo
fogelito 9ba5e82
more tests
fogelito b8ab877
more tests
fogelito 6d6ff1c
tests
fogelito 167f5bd
Merge branch 'main' of github.com:utopia-php/database into contains-v2
fogelito de4ccaa
lint + composer.lock
fogelito 1a38083
Move getSQLIndex
fogelito f9e3f7f
Check contains with validator
fogelito 3410db8
version upgrade
fogelito 33fa6c8
Update phpunit.xml
fogelito 5a832a1
Update src/Database/Validator/Index.php
fogelito a5d9acf
Update src/Database/Validator/Index.php
fogelito 9424767
Update bin/tasks/load.php
fogelito 0bb90a4
Update src/Database/Validator/Index.php
fogelito 5431d5a
Addressing comments
fogelito bb018fc
Update src/Database/Database.php
fogelito 6a32656
Update src/Database/Adapter/SQLite.php
fogelito 16df875
Update src/Database/Validator/Index.php
fogelito 8f13042
Mysql check cast
fogelito 1a8a21b
Merge remote-tracking branch 'origin/contains-v2' into contains-v2
fogelito b0c3900
formatting
fogelito 8c8fe43
Cannot set a length text change
fogelito 5a04626
remove var_dumps
fogelito 5dd561b
Test Integer array size
fogelito e49ac27
Default index length
fogelito 2315c49
Update src/Database/Adapter/MariaDB.php
fogelito b4869c5
Update src/Database/Adapter/SQL.php
fogelito 1b999c5
Update src/Database/Validator/Query/Filter.php
fogelito 35c6d2c
Update src/Database/Validator/Query/Filter.php
fogelito 2e11ad0
Addressing comments
fogelito a7aeed2
Merge remote-tracking branch 'origin/contains-v2' into contains-v2
fogelito 18ba005
Addressing comments
fogelito db7bf05
Upper case like
fogelito 75b75b0
Fix Mongo case sensitive
fogelito 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
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
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
1 change: 1 addition & 0 deletions
1
bin/view/results/mariadb_myapp_642ba64fe5e9f_25_1680582832.json
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 @@ | ||
| [{"roles":2,"results":[0.004142045974731445,0.0007698535919189453,0.0006570816040039062,4.3037660121917725]},{"roles":102,"results":[0.0031499862670898438,0.0012857913970947266,0.0013210773468017578,4.130218029022217]},{"roles":491,"results":[0.4965331554412842,0.36292195320129395,0.30788612365722656,4.9501330852508545]},{"roles":964,"results":[0.44646310806274414,0.44009995460510254,0.37430691719055176,4.239892959594727]},{"roles":1829,"results":[0.6837189197540283,1.6691820621490479,1.3487520217895508,98.95817399024963]}] |
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.