Skip to content
Open
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
7ecf18d
Add operators base
abnegate Sep 22, 2025
9e1c1d5
Fix tests
abnegate Sep 23, 2025
24844c6
Fix tests
abnegate Sep 23, 2025
8d0d7cd
Fix pg + sqlite
abnegate Sep 24, 2025
151ba92
Fix stan
abnegate Sep 24, 2025
5ccd877
Add more tests
abnegate Sep 24, 2025
943a3e4
Add edge case tests
abnegate Sep 24, 2025
377e976
Fix tests
abnegate Sep 24, 2025
b4f0db4
Fix mysql array unique
abnegate Sep 25, 2025
149eb33
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate Oct 15, 2025
8a3367c
Fix double encode
abnegate Oct 16, 2025
f13c44b
Improve validation
abnegate Oct 16, 2025
9495986
Fix postgres array insert
abnegate Oct 16, 2025
0820f78
Fix sqlite array insert + throw on power
abnegate Oct 16, 2025
7348b84
Add custom test scope for operators
abnegate Oct 16, 2025
77dba52
Allow operators on upsert
abnegate Oct 16, 2025
f6eafa2
Fix stan
abnegate Oct 16, 2025
60aa3d4
Merge branch 'main' into feat-operators
abnegate Oct 16, 2025
1de6660
Gated SQLite pow
abnegate Oct 16, 2025
ba945da
Merge branch 'feat-operators' of github.com:utopia-php/database into …
abnegate Oct 16, 2025
2315a21
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate Oct 16, 2025
04d4a22
Edge case tests + extra pre-validation
abnegate Oct 16, 2025
d5263ae
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate Oct 16, 2025
e157a8d
Fix adapter impl for array ops
abnegate Oct 16, 2025
287efa2
Fix maria overflow + json path
abnegate Oct 17, 2025
120c0ae
Fix sqlite exceptions
abnegate Oct 17, 2025
d104e51
Process numeric bounds exceptions
abnegate Oct 17, 2025
412d43a
Add operator benchmarks
abnegate Oct 17, 2025
370234b
Tweak performance on numeric/array ops
abnegate Oct 17, 2025
91f872b
Fix overflow at numeric bounds
abnegate Oct 17, 2025
bb573d5
Fix tests
abnegate Oct 17, 2025
a1bad2a
Improve benchmark output
abnegate Oct 17, 2025
9a5e7ef
Update src/Database/Database.php
abnegate Oct 17, 2025
6d82265
Address review comments
abnegate Oct 17, 2025
348d673
Merge branch 'feat-operators' of github.com:utopia-php/database into …
abnegate Oct 17, 2025
01766ea
Consistent messages
abnegate Oct 17, 2025
f3fad9d
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate Oct 17, 2025
0a6f037
Fix bulk upsert
abnegate Oct 20, 2025
bc77665
Allow upsert operator on new docs
abnegate Oct 21, 2025
cbf5989
Default on insert with operator
abnegate Oct 21, 2025
ae4402c
Trim on numerics
abnegate Oct 21, 2025
8e33e2b
Fallback to empty array if null
abnegate Oct 21, 2025
fd22110
Fix filter match
abnegate Oct 21, 2025
d4cbc8d
Update src/Database/Validator/Operator.php
abnegate Oct 21, 2025
664b451
Update src/Database/Validator/Operator.php
abnegate Oct 21, 2025
486c7c6
Fix spatial handling
abnegate Oct 21, 2025
eef05bc
Merge remote-tracking branch 'origin/main' into feat-operators
abnegate Oct 21, 2025
56dac9c
Merge branch 'feat-operators' of github.com:utopia-php/database into …
abnegate Oct 21, 2025
e91fc93
Fix code formatting in SQL.php
abnegate Oct 21, 2025
f6f7613
Fix test failures
abnegate Oct 21, 2025
6ca8dcd
Add negative multiplier/divisor support to SQLite adapter
abnegate Oct 21, 2025
336b44b
Disable operators for Mongo
abnegate Oct 21, 2025
de75835
Fix tests
abnegate Oct 22, 2025
b4ff7db
Fix pool + stan
abnegate Oct 22, 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
1 change: 1 addition & 0 deletions bin/cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
include 'tasks/index.php';
include 'tasks/query.php';
include 'tasks/relationships.php';
include 'tasks/operators.php';

$cli
->error()
Expand Down
3 changes: 3 additions & 0 deletions bin/operators
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

php /usr/src/code/bin/cli.php operators "$@"
Loading
Loading