getLimitersRelational method

String getLimitersRelational(
  1. Map<String, dynamic> map
)

Adds the limiters to the query relational, i.e. skip=10, limit=10

Implementation

String getLimitersRelational(Map<String, dynamic> map) {
  String result = '';
  map.forEach((String key, dynamic value) {
    if (result.isNotEmpty) {
      result = '$result,"$key":$value';
    } else {
      result = '"$key":$value';
    }
  });
  return result;
}