renamed daos.GetTableColumns and daos.GetTableInfo for consistency

This commit is contained in:
Gani Georgiev
2023-03-22 17:15:17 +02:00
parent 923fc26a31
commit 9736a45e80
9 changed files with 27 additions and 22 deletions
+4
View File
@@ -20,6 +20,10 @@
- Added option to explicitly set the record id from the Admin UI ([#2118](https://github.com/pocketbase/pocketbase/issues/2118)).
- **!** Renamed `daos.GetTableColumns()` to `daos.TableColumns()` for consistency with the other Dao table related helpers.
- **!** Renamed `daos.GetTableInfo()` to `daos.TableInfo()` for consistency with the other Dao table related helpers.
- **!** Changed `types.JsonArray` to support specifying a generic type, aka. `types.JsonArray[T]`.
If you have previously used `types.JsonArray`, you'll have to update it to `types.JsonArray[any]`.