Conteúdo
O Serviço de análise do Couchbase usa o SQL++ query language. SQL++ is an modern query language designed to work with semi-structured data and the JSON data model. SQL++ is backwards-compatible with SQL.
The Coucbase Analytics Service is currently in developer preview. As such, there are occasional breaking changes between releases. This post serves to document those changes.
6.0
Linguagem de definição de dados
- Bucket association is now automatic
Previous versions required explicit association between Analytics buckets and Couchbase Server buckets. For example,
CREATE BUCKET ha WITH {"name":"health"}
. Analytics buckets now automatically mirror Server buckets, e.g. in the previous example other Analytics DDL commands can refer to a bucketsaúde
without any extra configuration. - Dataset definitions no longer require the
SOMBRA
palavra-chavePreview releases before version 5.5 required the
SOMBRA
keyword. It is optional in v5.5. It is an error to include it in v6.0. The syntax for creating datasets is thereforeCREATE DATASET ((dataverse_name.)? dataset_name)? ON bucket_name (WHERE where_exp)?
. CONNECT/DISCONNECT BUCKET
have been replaced byCONNECT/DISCONNECT LINK
The connect and disconnect commands activate/deactivate dataset processing of data from Server buckets. The new full syntax is
CONNECT LINK (dataverse_name.)? Local (, (dataverse_name.)? Local)*
. This will connect all datasets in a dataverse.
Pós-escrito
O Couchbase é de código aberto e grátis para experimentar.
Comece a usar com código de amostra, consultas de exemplo, tutoriais e muito mais.
Encontre mais recursos em nosso portal do desenvolvedor.
Siga-nos no Twitter @CouchbaseDev.
Você pode postar perguntas em nosso fóruns.
Participamos ativamente de Estouro de pilha.