Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
5d21db2
added attribute validation in the index
ArnabChatterjee20k Aug 27, 2025
f2f5ee3
added default handling for the spatial types
ArnabChatterjee20k Aug 27, 2025
df7902c
updated index lookup
ArnabChatterjee20k Aug 27, 2025
af73122
Update src/Database/Database.php
ArnabChatterjee20k Aug 27, 2025
01aac3d
Update src/Database/Database.php
ArnabChatterjee20k Aug 27, 2025
c98b33b
Update src/Database/Database.php
ArnabChatterjee20k Aug 27, 2025
d59a207
Merge pull request #675 from ArnabChatterjee20k/spatial-attribute-sup…
abnegate Aug 27, 2025
45a1370
Fix nested selections getting empty array when all are removed
abnegate Aug 27, 2025
8a536fe
Merge pull request #676 from utopia-php/fix-nested-select
abnegate Aug 27, 2025
48e299b
with transactions
fogelito Aug 31, 2025
18a2875
with transactions
fogelito Aug 31, 2025
87fb55e
Merge pull request #677 from utopia-php/with-transaction
abnegate Sep 1, 2025
73ffad0
Run tests
fogelito Sep 2, 2025
5f2f46a
PDO namespace
fogelito Sep 2, 2025
41440ae
lint
fogelito Sep 2, 2025
e4f6693
Use abstract $this->execute($stmt);
fogelito Sep 2, 2025
c2fe9b0
Filter attribute
fogelito Sep 2, 2025
bfc010c
Merge pull request #681 from utopia-php/elevate-find-sum-count
abnegate Sep 2, 2025
3a4edc0
fixed structure exception not getting raised for spatial types
ArnabChatterjee20k Sep 2, 2025
6746472
updated phpdocs
ArnabChatterjee20k Sep 2, 2025
21770b5
Implement distance spatial queries and validation for spatial attributes
ArnabChatterjee20k Sep 2, 2025
3336ebc
updated phpdocs for handledistancespatial
ArnabChatterjee20k Sep 2, 2025
ddabbf8
Refactor spatial query handling to improve clarity and consistency in…
ArnabChatterjee20k Sep 2, 2025
49bb55a
updated meter param for distance
ArnabChatterjee20k Sep 2, 2025
06ffa2b
Merge pull request #682 from ArnabChatterjee20k/spatial-attribute-sup…
abnegate Sep 2, 2025
e2bdc83
Don't wait to return empty
abnegate Sep 3, 2025
42f35b7
Return empty on empty
abnegate Sep 3, 2025
82aa0e8
Only trigger deleted if deleted
abnegate Sep 3, 2025
fcd166b
Merge pull request #683 from utopia-php/fix-update
abnegate Sep 3, 2025
35b7744
Add time between queries
abnegate Sep 4, 2025
fc01e45
Pass old to update on next, rename to upsert
abnegate Sep 4, 2025
d32bd61
Merge pull request #684 from utopia-php/feat-between
abnegate Sep 4, 2025
0c6e693
Send old for upsert + delete
abnegate Sep 4, 2025
48220ca
Update src/Database/Database.php
abnegate Sep 4, 2025
d354985
Improve mirror callbacks
abnegate Sep 4, 2025
55d04ee
Fix create docs on error
abnegate Sep 4, 2025
e4a03ba
Merge pull request #685 from utopia-php/feat-rename
abnegate Sep 4, 2025
b9070a2
updated spatial get type
ArnabChatterjee20k Sep 5, 2025
b5ea4d1
Merge pull request #688 from utopia-php/spatial-type-change
abnegate Sep 5, 2025
bf1aad0
reduced the spatial query dimension to avoid nested array on the user…
ArnabChatterjee20k Sep 7, 2025
57358ac
Merge pull request #689 from utopia-php/sptial-query-fix
abnegate Sep 8, 2025
46f1a46
* Add support for distance calculation between multidimension geometr…
ArnabChatterjee20k Sep 8, 2025
158e7c1
Fix spatial distance error messages and improve validation for geomet…
ArnabChatterjee20k Sep 8, 2025
ab3a235
Refactor spatial query handling and improve error messages in databas…
ArnabChatterjee20k Sep 8, 2025
8d85d66
updated types
ArnabChatterjee20k Sep 8, 2025
297b29a
lint
ArnabChatterjee20k Sep 8, 2025
f06a57a
Merge pull request #692 from utopia-php/spatial-distance-fix
abnegate Sep 8, 2025
285f327
Update Key validator to limit length to 36 characters for improved Mo…
shimonewman Sep 8, 2025
1f7faa6
Merge branch 'main' of github.com:utopia-php/database into feat-mongo…
shimonewman Sep 8, 2025
79e7eba
updated spatial update attribute
ArnabChatterjee20k Sep 9, 2025
78ca0c7
replaced database exception with query exception
ArnabChatterjee20k Sep 9, 2025
2df73ea
updated tests
ArnabChatterjee20k Sep 9, 2025
16f96e5
Merge pull request #693 from utopia-php/spatial-attribute-update-fix
abnegate Sep 10, 2025
0d4f2ec
added long-lat order to constant in the mariadb/mysql adapter
ArnabChatterjee20k Sep 10, 2025
796310b
spatial types filter
ArnabChatterjee20k Sep 10, 2025
7f08617
updated condition for returning value in the filters encode/decode
ArnabChatterjee20k Sep 10, 2025
adb82de
refactor spatial attribute handling to support NULL values and improv…
ArnabChatterjee20k Sep 10, 2025
d291d6a
linting
ArnabChatterjee20k Sep 10, 2025
7ed30f4
updated index validator for spatial types
ArnabChatterjee20k Sep 10, 2025
4f7bae7
updated spatial type tests with spatial index and non spatial combiation
ArnabChatterjee20k Sep 10, 2025
7123d28
fixed postgres test failing due to 0 length varchar
ArnabChatterjee20k Sep 10, 2025
1bac5c6
Merge pull request #694 from utopia-php/spatial-filter
abnegate Sep 11, 2025
4abe0ef
updated array conditon for filter
ArnabChatterjee20k Sep 11, 2025
c7dcfd8
Merge pull request #696 from utopia-php/spatial-filter
abnegate Sep 11, 2025
1577a23
Merge remote-tracking branch 'origin/feat-mongo-tmp-pulls' into feat-…
shimonewman Sep 11, 2025
1b6f0af
sync with main
shimonewman Sep 11, 2025
34a6001
dding mongo to tests workflow
shimonewman Sep 11, 2025
8f662ea
adding mongo to tests workflow
shimonewman Sep 11, 2025
fc2871f
adding mongo to tests workflow
shimonewman Sep 11, 2025
44af82d
Merge pull request #695 from utopia-php/1.x
abnegate Sep 11, 2025
77bc5fd
added srid fix for the mysql
ArnabChatterjee20k Sep 11, 2025
4d84e6c
Refactor database cursor handling and update docker-compose for Mongo…
shimonewman Sep 11, 2025
aac79fe
Comment out the testFindNotBetween method in DocumentTests.php to tem…
shimonewman Sep 11, 2025
c967e72
linter
shimonewman Sep 11, 2025
32bf039
SRID and axis order updates
ArnabChatterjee20k Sep 11, 2025
f74bc09
using earth radius through a const
ArnabChatterjee20k Sep 11, 2025
cbabdbf
reenabled tests
ArnabChatterjee20k Sep 11, 2025
0c9f864
updated tests
ArnabChatterjee20k Sep 11, 2025
f9f3127
added cleanups
ArnabChatterjee20k Sep 11, 2025
005d79b
updated tests
ArnabChatterjee20k Sep 11, 2025
4500995
Merge pull request #699 from utopia-php/spatial-filter
abnegate Sep 11, 2025
fb69bed
Update dependencies in composer.json and composer.lock, including upg…
shimonewman Sep 11, 2025
1099eca
get document fix
ArnabChatterjee20k Sep 11, 2025
51801ae
added validator for wrong long/lat
ArnabChatterjee20k Sep 11, 2025
753800f
linting
ArnabChatterjee20k Sep 11, 2025
dbecdf8
Merge pull request #700 from utopia-php/spatial-filter
abnegate Sep 12, 2025
e68f2e3
Merge pull request #701 from utopia-php/1.x
abnegate Sep 12, 2025
b5661ad
Merge branch 'main' of github.com:utopia-php/database into feat-mongo…
shimonewman Sep 14, 2025
f3c4f54
Merge remote-tracking branch 'origin/feat-mongo-tmp-pulls' into feat-…
shimonewman Sep 14, 2025
23da2a8
Enhance Mongo adapter: added 'required' parameter to updateAttribute …
shimonewman Sep 14, 2025
15c04b9
linter
shimonewman Sep 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ jobs:
matrix:
adapter:
[
MongoDB,
MariaDB,
MySQL,
Postgres,
SQLite,
Mirror,
Pool,
SharedTables/MongoDB,
SharedTables/MariaDB,
SharedTables/MySQL,
SharedTables/Postgres,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"utopia-php/framework": "0.33.*",
"utopia-php/cache": "0.13.*",
"utopia-php/pools": "0.8.*",
"utopia-php/mongo": "dev-feat-create-UUID as 0.5.3"
"utopia-php/mongo": "0.6.0"
},
"require-dev": {
"fakerphp/faker": "1.23.*",
Expand Down
Loading