Array manipulation

Hi guys

i’m looking for a solution about how to use array_append in couch base home

like i stores my contact details in array object so i need to manipulate array like push and pop the values from array

help me to fix this

array_append is a N1QL function. That’s something you’d use in Couchbase Server (in a N1QL query that creates or updates a document), not in Couchbase Mobile.

In Couchbase Mobile you get the document as Dictionary / Map / Array / etc. objects, modify it in memory however you want, and then save it back to the database. The details depend on what platform you’re on; iOS, Android and .NET all have different collection APIs.

Hi jens

i’m hybrid mobile application developer

i’m using cordova plugin for couchbase lite do you have any examples?