Closed uptechsolutionsghana closed 1 year ago
What version of PocketBase and PocketBase Dart SDK you are using?
For PocketBase v0.7.x and PocketBase Dart SDK <= 0.4.0, there is no expand
named parameter you have to set it as part of the query map, aka:
client.records.getFullList("example", query : { "expand": "someRelField" })
For PocketBase v0.8.0-rc and PocketBase Dart SDK v0.5.0-rc, the above is equivalent to:
client.collection("example").getFullList(expand: "someRelField")
I'll close the issue because the expand
parameter could be found in https://github.com/pocketbase/dart-sdk/blob/rc/lib/src/services/base_crud_service.dart#L21, but if the above doesn't help and you are still getting the same error, please provide information what PocketBase and PocketBase Dart SDK versions you are using.
How do i get relations from getFullList?