strongloop-community / loopback-sdk-android

Android Client SDK for the LoopBack framework.
Other
67 stars 41 forks source link

Where field value is null or empty #95

Open farruxx opened 8 years ago

farruxx commented 8 years ago

I want to get categories, where parents are equal some categoryId.

  find(ImmutableMap.of(
                "filter",
                ImmutableMap.of("where", ImmutableMap.of("parent",  parent))
        ), callback);

but, when I trying to get categories with no parent, parent == null, it throws NullPointerException