added record.ExpandedOne(rel) and record.ExpandedAll(rel) helpers

This commit is contained in:
Gani Georgiev
2023-07-14 15:20:48 +03:00
parent 8e2246113a
commit 4962dc618b
4 changed files with 118 additions and 0 deletions
+2
View File
@@ -82,6 +82,8 @@
- (@todo docs) Use a default fetch function that will return all relations in case the fetchFunc argument of `Dao.ExpandRecord()` and `Dao.ExpandRecords()` is `nil`.
- (@todo docs) Added `record.ExpandedOne(rel)` and `record.ExpandedAll(rel)` helpers to retrieve casted single or multiple expand relations from the already loaded "expand" Record data.
## v0.16.9