buildRemoteSearchRequest method
Build PocketBase remoteSearch parameters (filter, sort, page, perPage). Exposed for tests to validate translation from QuerySpec.
Implementation
(String filter, String? sort, int page, int perPage) buildRemoteSearchRequest(
SyncScope scope,
QuerySpec spec,
) {
return buildPocketBaseRemoteSearchRequest(
scope: scope,
spec: spec,
idField: config.idField,
updatedAtField: config.updatedAtField,
deletedAtField: config.deletedAtField,
scopeNameField: config.scopeNameField,
);
}