Andrew Valleteau
31aad403de
fix(studio): early fail query when x-connection-encrypted is invalid ( #35331 )
...
* fix(studio): early fail query when x-connection-encrypted is invalid
* fix(studio): uniformize readDatabase and projectDetails connString handling
* chore: update api types
* chore: add connectionString null option
* fix: only enforce x-connection-encrypted on platform
* chore: refactor connString check in a single point
* chore: fix guard logic
* chore: fix pgMetaGuard
* chore: fix types
2025-05-08 12:11:03 +02:00
Alaister Young
0e3bc5804b
chore: remove useExecuteSqlQuery (part 1) ( #30437 )
...
* chore: remove useExecuteSqlQuery part 1
* fix invalidation
* fixes
* more fixes
* I fixed it, but tested on preview instead of local 🤦🏻
* only refetch table rows and not count on row updates
* removed unneeded invalidations and prefetched new table after create
2024-11-14 15:21:29 +08:00
Alaister Young
8e47d317fa
chore: pg-meta functions ( #26881 )
...
* start pg-meta functions
* pg meta create function
* pg meta database functions update and delete
* fix ts
* update execute sql error type
* update execute sql error type
* remove duplicate database functions query
2024-06-03 23:21:19 +08:00
Joshen Lim
dcdc3cd230
Fix table editor unable to update PK after renaming table ( #21285 )
...
* Fix table editor unable to update PK after renaming table
* Lint
2024-02-26 06:21:42 +00:00