Sam Rose
|
478160c412
|
Fix all tests.
|
2024-10-24 12:28:23 +01:00 |
Sam Rose
|
0736812293
|
Add SQL injection tests.
|
2024-10-24 11:39:57 +01:00 |
Sam Rose
|
e14918c105
|
Fix notContains tests again.
|
2024-10-24 11:20:31 +01:00 |
Sam Rose
|
0695888659
|
wip
|
2024-10-24 11:01:35 +01:00 |
Sam Rose
|
ebcbadfd3a
|
remove all of the `fnc` variables
|
2024-10-23 17:21:14 +01:00 |
Sam Rose
|
a120ce4e14
|
More refactoring.
|
2024-10-23 17:07:42 +01:00 |
Sam Rose
|
aaf4022f25
|
Finally fix notContains tests.
|
2024-10-23 16:22:07 +01:00 |
Sam Rose
|
56a68db1d4
|
Checkpoint EOD: fixed a bunch more raw cases, some test failures to fix tomorrow.
|
2024-10-22 18:33:44 +01:00 |
Sam Rose
|
4545493cd5
|
Checkpoint, more raws converted.
|
2024-10-22 11:48:38 +01:00 |
Sam Rose
|
44bd00a0d7
|
Making progress on converting raw calls to use bindings.
|
2024-10-21 18:20:52 +01:00 |
Sam Rose
|
cc2605a9dd
|
WIP
|
2024-10-21 10:04:03 +01:00 |
mike12345567
|
b94498e583
|
Backporting types from v3 to support updating pro submodule.
|
2024-10-18 17:29:22 +01:00 |
Adria Navarro
|
b6874f52f6
|
Fix many-to-one
|
2024-10-16 16:16:39 +02:00 |
Adria Navarro
|
3ea8e240e4
|
Fix one-to-many
|
2024-10-16 14:05:48 +02:00 |
Adria Navarro
|
960fa33559
|
Merge branch 'fix/multiple-relationships-same-table' into chore/negated-join-filters
|
2024-10-16 13:34:19 +02:00 |
Adria Navarro
|
b01564c934
|
Fix multiple relations to same table for external
|
2024-10-16 10:21:17 +02:00 |
Adria Navarro
|
8a6dbef249
|
Fix sqs
|
2024-10-15 18:50:58 +02:00 |
Adria Navarro
|
57da952f69
|
Fix "parenthesis"
|
2024-10-15 11:34:35 +02:00 |
Adria Navarro
|
76d0107d4d
|
Handle empty relationships
|
2024-10-15 10:10:15 +02:00 |
Adria Navarro
|
7ea2c187a7
|
Simplify
|
2024-10-14 16:17:24 +02:00 |
Adria Navarro
|
cf089eff26
|
Fix ors
|
2024-10-14 10:40:08 +02:00 |
Adria Navarro
|
2311f8aa50
|
Don't break or conditions on nested joins
|
2024-10-14 10:40:08 +02:00 |
Sam Rose
|
964f8222ba
|
Allow sorting by calculation fields.
|
2024-10-10 17:10:07 +01:00 |
mike12345567
|
00048a2d3e
|
Addressing PR comments.
|
2024-10-09 17:04:27 +01:00 |
mike12345567
|
d62d5b7043
|
Fixing an issue with removing relationships from the many side of a table in SQL, this was not correctly updating the other table.
|
2024-10-09 15:09:38 +01:00 |
Sam Rose
|
50c307df4d
|
Add more view calculation tests, and implement count distinct.
|
2024-10-02 16:49:14 +01:00 |
Sam Rose
|
ee897e4d7e
|
Fix imports.
|
2024-10-02 10:05:56 +01:00 |
Sam Rose
|
4dd6afd435
|
Symbolise the special __bb_total count field name.
|
2024-10-02 09:57:18 +01:00 |
Sam Rose
|
7b9af81fd5
|
Clean up params and isSqs
|
2024-10-02 09:44:20 +01:00 |
Sam Rose
|
ddd229062c
|
Rename total field when doing row counts.
|
2024-10-02 09:39:54 +01:00 |
Sam Rose
|
08f1c4dadc
|
Update packages/backend-core/src/sql/sql.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
|
2024-10-02 09:35:15 +01:00 |
Sam Rose
|
7cee1509aa
|
Fix sqlAlias.spec.ts
|
2024-10-01 16:17:11 +01:00 |
Sam Rose
|
addd54a8e8
|
Fix generic-sql.spec.ts
|
2024-10-01 15:39:33 +01:00 |
Sam Rose
|
ae4f7ae4b4
|
Implement group by and add a test for it.
|
2024-10-01 15:04:01 +01:00 |
Sam Rose
|
987a24fabc
|
wip
|
2024-10-01 11:48:14 +01:00 |
Sam Rose
|
c4c524c6ff
|
viewV2.spec.ts passsing in full
|
2024-09-26 15:22:10 +01:00 |
Sam Rose
|
0fee7dfd4f
|
Merge branch 'master' of github.com:budibase/budibase into view-calculation-sql
|
2024-09-24 15:07:08 +01:00 |
mike12345567
|
c643c82654
|
Fix for SQL server.
|
2024-09-24 13:44:26 +01:00 |
Sam Rose
|
51774b3434
|
Working on plumbing 'source' all the way through our code.
|
2024-09-24 12:30:45 +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 |
Sam Rose
|
9588192a52
|
Merge master.
|
2024-09-20 11:46:58 +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 |