fields property
List of all fields that should be returned.
If value is null, server will default to ['*']
. You can do joins by
calling fields with .*
after column name.
For example ['*', 'user_id.*']
will get all data from current item, and join
user_id
field with proper table, and get all data.
Example:
fields = ['*'];
fields = ['id', 'title'];
fields = ['id', 'user.*'];
Implementation
List<String>? fields;