diff --git a/lib/src/network/parse_live_query.dart b/lib/src/network/parse_live_query.dart index 5c4a48f46..344353ac7 100644 --- a/lib/src/network/parse_live_query.dart +++ b/lib/src/network/parse_live_query.dart @@ -49,6 +49,7 @@ class LiveQuery { } final String _className = query.object.parseClassName; + final keysToReturn = query.limiters['keys']?.split(','); query.limiters.clear(); //Remove limits in LiveQuery final String _where = query._buildQuery().replaceAll('where=', ''); @@ -134,6 +135,8 @@ class LiveQuery { 'query': { 'className': _className, 'where': _whereMap, + if (keysToReturn != null && keysToReturn.length > 0) + 'fields': keysToReturn } }; if (_sendSessionId) {