N1QL merge(First check the data is available,If data is not available then insert a data)


#1

How to create merge NQL query…inserts a record to a bucket, if the record does not exist or, if the record already exists, updates the existing record.

i want sample merge Query…


#2

Hi @ganeshcsea2013,

You should see sample MERGE queries in the documentation.

And from Google search: https://www.google.com/?gws_rd=ssl#q=n1ql+merge