Commit Graph

141 Commits

Author SHA1 Message Date
mike12345567 b13b7df678 Correctly handling aliasing for sorting/json field types with SQS. 2024-04-15 18:23:39 +01:00
Sam Rose d61d5f51cc
Add tests for array column types, fixing some bugs along the way. 2024-04-15 15:31:46 +01:00
Sam Rose 672025e176
Solve onEmptyFilter in a nicer way. 2024-04-11 10:11:03 +01:00
Sam Rose 229bbc0d10
Assert length on search tests, fixes bug in SQS around on empty return none. 2024-04-11 09:53:54 +01:00
mike12345567 30c81e58ec Some typing and test fixes. 2024-04-04 18:16:23 +01:00
mike12345567 8df38b8bb2 Merging in most recent changes, recent SQL aliasing changes caused some big differences. 2024-03-20 12:42:07 +00:00
mike12345567 8d7267691d Handling aliasing in column conversions. 2024-03-19 16:28:25 +00:00
mike12345567 6a0e46a0a6 Proper fix, making sure that low level handling of JSON column types correctly handles aliasing. 2024-03-19 16:24:15 +00:00
Sam Rose a5c8e8845f
Implement Adri's type guard suggestion. 2024-03-13 13:38:08 +00:00
Sam Rose aff0209176
MariaDB tests passing. 2024-03-12 15:27:34 +00:00
mike12345567 851a423615 Some typing updates to fix some build issues which were occurring. 2024-03-06 18:07:46 +00:00
mike12345567 2eb16a70db Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2024-03-06 17:27:53 +00:00
Michael Drury a332c058ce Disabling aliasing on writes (create, update, delete) for MySQL/MS-SQL datasources. 2024-03-05 16:19:21 +00:00
mike12345567 45702ce918 Fixing typing. 2024-03-04 17:02:52 +00:00
mike12345567 a7fcd7cca1 Attempting to fix issue with table name needing to be aliased. 2024-03-04 16:55:10 +00:00
mike12345567 02e3b36cd8 Adding missing files. 2024-03-04 15:47:27 +00:00
Michael Drury c5591ee87f
Revert "Revert "SQL Query aliasing"" 2024-02-29 12:33:03 +00:00
Michael Drury de3968ffe3
Revert "SQL Query aliasing" 2024-02-29 12:32:15 +00:00
mike12345567 2d75e1e85c Merge branch 'feature/sql-query-aliasing' of github.com:Budibase/budibase into labday/sqs 2024-02-28 17:03:59 +00:00
mike12345567 56b1855f6a Adding test cases for table names in table names. 2024-02-28 15:18:07 +00:00
mike12345567 be99d27460 Merging recent changes - had to change some type definitions. 2024-02-28 14:49:11 +00:00
melohagan 039df5d476
FIX: cannot delete a renamed column with a mysql datasource (#13147)
* Support MySQL column rename in Budibase

* Delete NOT ignored types

* unit tests

* update account portal
2024-02-28 13:44:52 +00:00
mike12345567 5f76f143bf Adding the ability to disable SQL aliasing if necessary. 2024-02-23 17:31:45 +00:00
mike12345567 c4f4a46d70 Quick fix based on testing. 2024-02-05 12:45:19 +00:00
mike12345567 bb0b776684 Updating how aliasing is handled. 2024-01-30 17:57:10 +00:00
mike12345567 6964e2d146 Fixing update aliasing. 2024-01-29 13:43:51 +00:00
mike12345567 3ce00c42a2 Adding SQL logging capabilities. 2024-01-18 18:13:11 +00:00
mike12345567 7eccbb851d Fixing issues with other SQL functions than just reading. 2023-12-01 15:27:49 +00:00
mike12345567 5c4dc0dc83 Fixing issue with aliasing. 2023-12-01 14:14:44 +00:00
mike12345567 649025ca12 Fixing missed from. 2023-11-28 18:45:05 +00:00
mike12345567 65cddae9da Getting relationship aliasing working. 2023-11-28 18:43:38 +00:00
mike12345567 cb7c1898f2 Getting basic aliasing working after some testing. 2023-11-27 19:02:06 +00:00
mike12345567 478e297e9e Initial work towards aliasing queries for SQL. 2023-11-24 18:11:53 +00:00
mike12345567 90a624884e Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-11-22 12:52:27 +00:00
Adria Navarro 92f411bf77 Prettier 2023-11-20 21:48:49 +01:00
Adria Navarro 4d27ff1dc0 eslint import/no-duplicates 2023-11-20 21:48:49 +01:00
mike12345567 fdfd58391a Merge branch 'master' of github.com:Budibase/budibase into labday/sqs 2023-10-19 18:25:11 +01:00
Sam Rose 767900aec6
Remove type information from JSDoc in .ts files, it's redundant. 2023-10-17 16:46:32 +01:00
mike12345567 1db95a3006 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-10-02 16:32:10 +01:00
mike12345567 8ca3f13a1c Quick re-jig based on test failure, seems the base sql.ts is depended on fairly heavily, importing the SDK can create a lot of cycles. 2023-09-14 16:53:36 +01:00
mike12345567 217d10f5fb Fix for more than/less than ranges, zeros were ignored when building up ranges, so that it simply acted like an upper limit, rather than a range. 2023-09-14 14:00:49 +01:00
Mel O'Hagan 17dc01808c Additional unit test 2023-09-11 21:35:51 +01:00
melohagan ece1c421fa Fix/formula as display (#11439)
* Allow formulas to be display columns in the grid

* Ensure SQL Server always has a sort order
2023-08-04 13:53:30 +01:00
mike12345567 c185dd7dd0 Merge branch 'develop' of github.com:Budibase/budibase into labday/sqs 2023-07-21 18:41:48 +01:00
mike12345567 f7a60bc65a Some minor improvements while working on documenting the outcomes. 2023-07-07 13:47:42 +01:00
mike12345567 adef1ed5ce Initial attempt to get SQS up and running within BB. 2023-07-06 21:49:25 +01:00
melohagan 9e8ab55e18 Lowercase values for Oracle LIKE (#10134) 2023-03-28 11:46:29 +01:00
Adria Navarro 63afd34eb2 Bug - BUDI-6068 filters do not work for google sheets (#9886)
* Add data-utils with filters

* Create data-utils

* Add data-utils to compiled code

* Reuse constants

* Fix tests

* Rename package to shared-core

* Namespace export shared-core

* Rely on rollup to bundle shared-core

* Revert "Rely on rollup to bundle shared-core"

This reverts commit e8b5a2bb9a.

* Updating version and removing private.

* Update version

* Increment versions.

* Implement sort

* Enabling sort

* v2.3.21-alpha.2

* Fix build

* Improve readability

* Move deepGet to shared helper

* Better type usage

* Fix types

* Configure types

* Fix vite refs

* Add dep

* Fixing depencencies on client

* Add missing dev command

* Fix loading issues

* Update versions to latest

* Multiple es6 and commonjs configs

* Config

* Use local packages on rollup for client

* Change shared-core and types entry points

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-09 12:25:12 +00:00
mike12345567 42fc004212 Merge branch 'develop' of github.com:Budibase/budibase into feature/audit-logs 2023-02-24 12:46:58 +00:00
adrinr 9e0d003038 Fix creation 2023-02-23 10:28:24 +01:00