> On Sep 24, 2014, at 1:38 PM, MobDev <[email protected]> wrote:
>
> How would you handle if you have array of custom objects?
Read this:
http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/model/index.html#arrays
The objects in the array should not be CBLModels, because that means they'll
have to have their own documents. Instead they should be a class that
implements CBLJSONEncoding, as described here:
http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/model/index.html#properties
—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/D37475CE-9FB1-4C99-9436-10DCA6960C0F%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.