mike12345567
|
c643c82654
|
Fix for SQL server.
|
2024-09-24 13:44:26 +01:00 |
mike12345567
|
464f973f12
|
Adding a separation for MariaDB and MySQL, mariaDB is the core of the problem, this solves for it by separating them and allowing us to use the special json_arrayagg for mariaDB, but use a correlated sub-query for MySQL.
|
2024-09-24 12:01:47 +01:00 |
mike12345567
|
676058bbbd
|
Updates to limit the response of JSON_ARRAYAGG in mysql/mariaDB - rather than using a limited sub-query which is dis-allowed in MySQL/MariaDB due to the nature of the correlated sub-query.
|
2024-09-23 17:16:34 +01:00 |
mike12345567
|
b0252469ed
|
Removing wrap for MySQL.
|
2024-09-23 12:33:25 +01:00 |
mike12345567
|
efdfbe7229
|
Fixing an issue that was stopping the limit from being applied to MySQL, it needs to wrap the query the same as all other DBs, however it needs to apply the where statement in a slightly different manner.
|
2024-09-20 17:58:31 +01:00 |
mike12345567
|
63c0d9afb8
|
Sorting the field list to make sure we have the important fields at the top (if known).
|
2024-09-16 18:27:53 +01:00 |
mike12345567
|
68a710699d
|
Getting external DBs to correctly handle when too many fields.
|
2024-09-16 18:09:01 +01:00 |
mike12345567
|
9d6fc54a99
|
Adding function parameter limit control for different SQL DBs, every DB has different limits with Postgres being the lowest at 100. We need to fix for wide tables which are related.
|
2024-09-16 16:12:07 +01:00 |
mike12345567
|
c9b64e3591
|
SQLite uses CTE with SQS 2.1.1.
|
2024-09-11 13:41:54 +01:00 |
mike12345567
|
05de673781
|
Merge branch 'master' of github.com:Budibase/budibase into aggregate-all-sql-dbs
|
2024-09-11 13:25:25 +01:00 |
mike12345567
|
f63c95e44c
|
Adding SQL_MAX_RELATED_ROWS environment variable, defaults to 500, allows for 500 rows per relationship.
|
2024-09-10 13:59:21 +01:00 |
mike12345567
|
157e75b9a6
|
Using a CTE for the main query, then adding the JSON aggregation on afterwards - fixing issue with offset pagination applying the JSON aggregation to all rows before hand.
|
2024-09-06 19:34:02 +01:00 |
mike12345567
|
76273ff860
|
PR comments.
|
2024-09-06 16:47:43 +01:00 |
mike12345567
|
f7d9b8a9b3
|
Updating select statement generation.
|
2024-09-05 19:04:45 +01:00 |
mike12345567
|
e30469ce16
|
Getting MariaDB to work again.
|
2024-09-04 18:14:24 +01:00 |
mike12345567
|
637ac55a9f
|
Slight refactor.
|
2024-09-04 17:42:30 +01:00 |
Sam Rose
|
cda778598d
|
Fix some MSSQL test cases.
|
2024-09-04 16:41:36 +01:00 |
Sam Rose
|
e90aff959f
|
Resolve merge conflicts.
|
2024-09-04 16:24:19 +01:00 |
Sam Rose
|
12db64513b
|
Revert to testing against mssql 2017, attempt to get relationship aggreggation working.
|
2024-09-04 16:21:32 +01:00 |
mike12345567
|
79de7b2c45
|
Updating to use a sub-query with a wrapper to get the JSON aggregations.
|
2024-09-04 16:17:25 +01:00 |
mike12345567
|
fed82dffaf
|
Linting.
|
2024-09-04 13:11:03 +01:00 |
mike12345567
|
b29a4e2b37
|
Work to support all SQL DBs across the board using the aggregation method.
|
2024-09-03 18:24:50 +01:00 |
mike12345567
|
ac7838f80d
|
Fixing an issue with inconsistent relationship order.
|
2024-09-03 12:09:33 +01:00 |
mike12345567
|
a9b1a22403
|
Some improvements to get SQS tests passing.
|
2024-08-29 18:56:14 +01:00 |
mike12345567
|
3e51dde6d2
|
Check for alias as well when deciding whether filter requires relationship addition.
|
2024-08-29 17:58:11 +01:00 |
mike12345567
|
628964364a
|
Getting through join working as expected.
|
2024-08-28 18:55:15 +01:00 |
mike12345567
|
49c1f34b5d
|
Saving at this point - got exists working.
|
2024-08-28 18:41:02 +01:00 |
mike12345567
|
0c604b7310
|
Moving things around, making join logic more accessible.
|
2024-08-27 18:34:05 +01:00 |
mike12345567
|
b11ee56a38
|
Adding limit in for wide tables to be related correctly.
|
2024-08-23 18:54:46 +01:00 |
mike12345567
|
5d53e64360
|
Getting fields from all relationships loading correctly.
|
2024-08-23 18:45:13 +01:00 |
mike12345567
|
ab5f50d2b8
|
Implementing a JSON aggregate method of selecting relationships.
|
2024-08-23 18:00:52 +01:00 |
Adria Navarro
|
2322925c62
|
Merge branch 'master' into fix/conditions-on-views
|
2024-08-21 14:38:24 +02:00 |
Adria Navarro
|
dc5a7dbc62
|
Fixes
|
2024-08-21 14:25:48 +02:00 |
Adria Navarro
|
e536ec5093
|
Fix conditions
|
2024-08-21 13:01:42 +02:00 |
mike12345567
|
a5533bb033
|
Fixing test cases.
|
2024-08-19 16:49:40 +01:00 |
mike12345567
|
a1fae4d799
|
Making sure filters are always added to end, this is important for OR situations.
|
2024-08-15 18:52:17 +01:00 |
Michael Drury
|
7b41e7cb39
|
Merge branch 'master' into test-oracle
|
2024-08-07 16:44:54 +01:00 |
Adria Navarro
|
58162410ea
|
Fix merge conflicts
|
2024-08-05 17:32:40 +02:00 |
Adria Navarro
|
9743aca715
|
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators
|
2024-08-05 17:28:58 +02:00 |
Sam Rose
|
7f49f87f27
|
Oracle fix PR comments.
|
2024-08-05 16:15:15 +01:00 |
Adria Navarro
|
ebca381e9b
|
Nested $and's and $or's test
|
2024-08-05 15:09:33 +02:00 |
Adria Navarro
|
2e23a0e4ce
|
Implement SQL and/or
|
2024-08-05 12:33:44 +02:00 |
Sam Rose
|
bc797238aa
|
row.spec.ts passing in full
|
2024-08-02 17:17:33 +01:00 |
Sam Rose
|
2671b9d5ef
|
More row.spec.ts fixes.
|
2024-08-02 16:58:12 +01:00 |
Sam Rose
|
7ab442eae7
|
Merge master.
|
2024-08-02 15:29:48 +01:00 |
mike12345567
|
99e8ef58dd
|
Adding test case - had to rejig how internal limit is retrieved but works without requiring thousands of rows.
|
2024-08-01 13:03:58 +01:00 |
mike12345567
|
7cc000a838
|
Fixes for not contains in oracle.
|
2024-07-30 18:22:20 +01:00 |
mike12345567
|
b470ecc7d9
|
Merge branch 'test-oracle' of github.com:Budibase/budibase into test-oracle
|
2024-07-30 17:54:10 +01:00 |
mike12345567
|
f0bdbd5b4d
|
Fixing not contains with oracle.
|
2024-07-30 17:53:53 +01:00 |
Sam Rose
|
d7199c9def
|
Fix a few more clob problems.
|
2024-07-30 17:41:39 +01:00 |