N1QL is SQL for JSON. The goal of N1QL is to give developers and enterprises an expressive, powerful, and complete language for querying, transforming, and manipulating JSON data.

The goal of N1QL is to give developers and enterprises an expressive, powerful, and complete language for querying, transforming, and manipulating JSON data. Hence, N1QL supports full set of SELECT, INSERT, UPDATE, DELETE, MERGE statements along with a rich set of expressions and operators.

N1QL is inspired from SQL. If you know SQL, you’ll learn N1QL quickly. But, having SQL on the flexible structure of JSON require a  bit of learning.  To make your learning even faster, we have an interactive tutorial.

http://query-tutorial.couchbase.com/tutorial/

The major sections are:

  • Section 1. N1QL basics
  • Section 2. Joins
  • Case Study I. E-Commerce
  • Case Study II. Social Game

Você pode modify the queries and see how the result changes.  Do the EXPLAIN to see the Query plan.  Have fun learning N1QL.

Here’s a sample screen.

Autor

A ordem da postagem em relação a outras postagens. Keshav Murthy

Keshav Murthy é vice-presidente de P&D da Couchbase. Anteriormente, ele trabalhou na MapR, IBM, Informix e Sybase, com mais de 20 anos de experiência em design e desenvolvimento de bancos de dados. Ele liderou a equipe de P&D de SQL e NoSQL na IBM Informix. Recebeu dois prêmios President's Club na Couchbase e dois Outstanding Technical Achievement Awards na IBM. Keshav é bacharel em Ciência da Computação e Engenharia pela Universidade de Mysore, Índia, detém dez patentes nos EUA e tem três patentes pendentes nos EUA.

2 Comentários

Posição vertical a partir do topo para iniciar o corte como uma porcentagem da altura da imagem.