-
Notifications
You must be signed in to change notification settings - Fork 55
Joins #763
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
fogelito
wants to merge
203
commits into
main
Choose a base branch
from
joins8
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
Joins #763
Changes from all commits
Commits
Show all changes
203 commits
Select commit
Hold shift + click to select a range
13beed1
joins
fogelito 966631b
query test
fogelito 8004014
Add constructor params
fogelito c7af565
Join validator
fogelito a87eed3
Init V2 validators
fogelito 93d414e
validate values
fogelito 35f73e6
Revert Documents validator
fogelito fc83d9b
Limit Offset validators
fogelito c5c8010
Merge branch 'main' of github.com:utopia-php/database into joins2
fogelito f4bddd4
formatting
fogelito 9c85f4e
formatting
fogelito f99eba7
Validations
fogelito 3c6101f
Validations
fogelito 6276e3b
Context class
fogelito e7a56b5
Use add context
fogelito 558820b
Add default alias
fogelito 778d8da
Add Join types
fogelito 4a1c539
Init join validation
fogelito f200707
Use original validator offset limit cursor
fogelito 3ca3335
validate fulltext index
fogelito ab49c0d
formatting
fogelito c44bee5
Break groupByType
fogelito 7bc1fe9
Introduce selection query
fogelito 608e5ec
Add Query scope test
fogelito a0ca81d
Get cursor queries
fogelito ad0c884
Add $context to Adapter.php
fogelito 601db10
formatting
fogelito 2de99c0
Try new signature
fogelito c2a4ba1
Add Query alias
fogelito ba65745
Test Ambiguous alias
fogelito 6bde5ab
Alias validator
fogelito f41ee35
Binds on the fly
fogelito 67f1bbb
Use generic tenant function
fogelito 1fff442
Add quote function
fogelito 5a21d10
getInternalKeyForAttribute function
fogelito 0d0f591
formatting
fogelito e38cfcc
Fix right Attribute internals
fogelito 71a45b1
Test relation query exist
fogelito 8c882dc
Test permissions
fogelito a965c71
Remove getSQLPlaceholder method
fogelito 026ec5e
Some cursor work
fogelito a7f9a2d
order / cursor
fogelito 22c108d
move find to sql.php
fogelito 8caa65f
Postgres tests
fogelito 93e7265
Test order by
fogelito bd4387a
Test order by
fogelito 785e0c1
Fix query nesting
fogelito bf293fc
Remove bindConditionValue
fogelito 1f1ea34
Remove getSQLPlaceholder
fogelito ccbb984
Remove groupByType
fogelito f807737
add groupByType for later trace
fogelito 651a24c
removeByType
fogelito 7d0fe4f
remove comments
fogelito 55e752c
Update sum N count to use convertQueries
fogelito 1de5d05
formatting
fogelito 345b251
formatting
fogelito ab07713
Unit tests
fogelito 9421014
Unit tests
fogelito daa635b
remove var_dump
fogelito c15a69b
skipAuth
fogelito f5e717e
Merge branch 'main' of github.com:utopia-php/database into joins2
fogelito 30d8f87
default alias
fogelito 0f3e6a9
Use order fallback N update postgres
fogelito 6649bd9
merge conflicts
fogelito 7e837ca
Fix Authorization when disabled
fogelito 311555c
Init selects
fogelito 1346015
DecodeV2
fogelito fd05e50
Remove internal attributes not queried
fogelito 7fea0b3
Remove internal attributes not queried
fogelito ce0bf8f
Remove select duplications fix $collection issue
fogelito 0ef44d8
Fix select queries
fogelito 40b9aae
Selects
fogelito 3c4db4a
Remove auth set false
fogelito a681979
Fix deleteDocuments
fogelito e18746a
Fix Postgres.php
fogelito dfd5c3c
Fix decoding
fogelito 2e0cd91
Joins tests
fogelito 7d99f75
order by message
fogelito ffb9ea4
casting
fogelito 3770ab0
Decode Casting
fogelito 4586145
decode
fogelito 9d91078
sync changes
fogelito 31c25ab
Remove skipAuth auth
fogelito bf4219b
Merge branch 'main' of github.com:utopia-php/database into joins2
fogelito 106da41
Pull main
fogelito 2f2a64a
Unit tests
fogelito 735e0d3
Comment ambiguous
fogelito c854fdd
Test as test
fogelito d4e85d8
As tests
fogelito 0a1faa1
As tests
fogelito d2796e4
Revert lock
fogelito 1cc6d6c
Change name
fogelito 45d8e25
Fix permissions
fogelito b438259
Add getLimitQueries
fogelito ba58a25
getOffsetQueries
fogelito e099596
addSelect method
fogelito 321e468
select internal attributes
fogelito 70a4b5c
assertArrayHasKey $collection
fogelito 16c822e
addHiddenAttribute
fogelito 02d269d
addHiddenAttribute
fogelito f7ae73c
Update Cursor logic
fogelito cb814c1
Check isset
fogelito a9032c6
Merge branch 'main' of github.com:utopia-php/database into joins3
fogelito a427a45
Query tests
fogelito 8f688ae
Special validations
fogelito 747dce3
Sync
fogelito eb51766
Dbg
fogelito 8f563d7
decode
fogelito 953afd3
Fix decode
fogelito 4c39033
Attr tests check perms
fogelito 4d4caf6
Change $internalid
fogelito 32aa3f9
perms
fogelito 22f92e3
perms
fogelito dcb4263
$permissions
fogelito c418511
Fix convert queries
fogelito f51ca0f
tests
fogelito f42c411
tests
fogelito dd15243
processRelationshipQueries
fogelito d0d0e10
dbg
fogelito 679c278
process Relationship Queries
fogelito 7085327
RelationshipTests
fogelito 39d6689
Spatial
fogelito 2ba2962
Spatial
fogelito ea48ad9
Merge branch 'main' of github.com:utopia-php/database into joins4
fogelito cad5e4d
Fix Documents tests
fogelito 229905c
Fix tests
fogelito e2464b2
Merge branch 'main' of github.com:utopia-php/database into joins5
fogelito 93fab9c
Spatials validations
fogelito c7220b1
Spatials tests
fogelito 0c3377d
Merge branch 'main' of github.com:utopia-php/database into joins6
fogelito 162b349
Pull main
fogelito b931486
$queriesOrNull
fogelito 97ea8e0
DocumentTests
fogelito 926a9bc
fix parse queries
fogelito 98481c4
Merge branch 'main' of github.com:utopia-php/database into joins7
fogelito 480ee8e
Fix syntax
fogelito f3948c3
Cast after
fogelito 9e452e0
Fixe Tests
fogelito ae290f7
Fix tests
fogelito 3382681
Fix tests Mongo
fogelito 8882ab9
formatting
fogelito 5469b7a
formatting
fogelito be4ee60
Mongo tests
fogelito 1a24c9b
Update Message
fogelito 6ef75b3
Merge branch 'main' of github.com:utopia-php/database into joins8
fogelito 79eb87c
Fix tests
fogelito 19656f9
Fix tests
fogelito 9dcd729
Validate getDocument only selects
fogelito 77d7d86
Remove dbg
fogelito ccb62c0
php stan
fogelito 214f113
Filter tests
fogelito acfca83
Fix unit tests
fogelito e0e68ef
Unit tests
fogelito f6511fe
Serverless
fogelito 18aceea
coderabbit
fogelito f6247b5
formatting
fogelito 8e3bb10
$attributeId fix
fogelito 8bb648f
Only nested relationships allowed
fogelito 859f9a7
$this->is valid
fogelito fc33f79
Remove added by system $id
fogelito a69f670
Revert unset $id
fogelito 8bf4fbf
Revert unset $id
fogelito 11e47d8
Revert tests
fogelito 188df04
Merge branch 'main' of github.com:utopia-php/database into joins9
fogelito 9f1d163
Parsing tests
fogelito e3a29be
Add right + left join unit
fogelito 9a26656
space
fogelito 78a0597
formatting
fogelito 74dde75
Fix static call
fogelito cdfb127
Remove double encode
fogelito f44a464
remove getCursorDocument
fogelito 3a901dc
$attributeId
fogelito ac63baf
Remove comments
fogelito 4391e9f
join
fogelito 924e856
addSelect $id to relationships
fogelito c3e2131
Right join typo
fogelito 8458868
Select queries
fogelito 58231d6
Right left join
fogelito 81ba383
Right left join order
fogelito c4c5ca0
count
fogelito 2f11cea
count
fogelito d2495d3
join count test
fogelito e112681
Mongo count
fogelito 490ad15
$max throw exeption
fogelito 1fbc72a
Merge branch 'main' of github.com:utopia-php/database into joins8
fogelito 2c32097
Remove validateJoinAliasOrder
fogelito c38aa72
Remove $cursorWhere
fogelito 3b4ed0b
getSQLPermissionsCondition default perms
fogelito d5df459
formatting
fogelito bb651d6
Address comments
fogelito 0359bb7
Remove ambiguous validations
fogelito 689a8ea
stopOnFailure
fogelito 5d04a28
Address comments
fogelito 2e7569d
Fix not search
fogelito d3f2e8a
Fix unit tests
fogelito a732ab4
Merge branch 'main' of github.com:utopia-php/database into joins9
fogelito 74e9df8
fix decodeAttribute
fogelito 0c78f5b
decode v2
fogelito ddf2e19
formatting
fogelito c334bf4
fix nulls
fogelito 69d7013
Use original document
fogelito 67ed804
check offsetExists
fogelito 467a9ea
check offsetExists
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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| <phpunit | ||
| <phpunit | ||
| backupGlobals="false" | ||
| backupStaticAttributes="false" | ||
| bootstrap="vendor/autoload.php" | ||
|
|
||
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
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.