From ab02e260927abb2f418cf6bd3b227f91fe24d461 Mon Sep 17 00:00:00 2001 From: Yavor Georgiev Date: Mon, 5 Feb 2018 18:52:40 +0100 Subject: [PATCH] bump dependency versions --- dependencies.list | 4 ++-- src/js_results.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dependencies.list b/dependencies.list index 5471412d..9090cbfd 100644 --- a/dependencies.list +++ b/dependencies.list @@ -1,5 +1,5 @@ PACKAGE_NAME=realm-js VERSION=2.3.0-alpha.3 -REALM_CORE_VERSION=5.1.2 -REALM_SYNC_VERSION=3.0.0-alpha.2 +REALM_CORE_VERSION=5.2.0 +REALM_SYNC_VERSION=3.0.0-alpha.3 REALM_OBJECT_SERVER_VERSION=3.0.0-alpha.1 diff --git a/src/js_results.hpp b/src/js_results.hpp index f179be3f..5f6a30d3 100644 --- a/src/js_results.hpp +++ b/src/js_results.hpp @@ -153,10 +153,10 @@ typename T::Object ResultsClass::create_filtered(ContextType ctx, const U &co auto const &realm = collection.get_realm(); auto const &object_schema = collection.get_object_schema(); - parser::Predicate predicate = parser::parse(query_string); + parser::ParserResult result = parser::parse(query_string); NativeAccessor accessor(ctx, realm, object_schema); query_builder::ArgumentConverter> converter(accessor, &args.value[1], args.count - 1); - query_builder::apply_predicate(query, predicate, converter); + query_builder::apply_predicate(query, result.predicate, converter); return create_instance(ctx, collection.filter(std::move(query))); }