> On Nov 16, 2015, at 6:25 AM, Jordan Wood <[email protected]> wrote:
> 
> Is there a better way for me to compare two queries that have been created 
> with separate calls to [myView createQuery]? Can I get the name of the view 
> that created a CBLQuery? I am using this to update a set of CBLLiveQuery 
> objects that my app keeps.

No, there isn’t an accessor for that. It seems like a reasonable thing to add, 
so you can file an issue on Github to request it.
As a workaround, you can make a data structure that maps query objects to 
views, for instance a custom class that has a query property and a view 
property, or an NSMapTable whose keys are query objects.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/BFED8428-4B12-4044-92FC-8DEC76B3634C%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to