Tuesday, October 17, 2017

CURL Comes to N1QL: Querying External JSON Data

DZone Database Zone
CURL Comes to N1QL: Querying External JSON Data
CURL Comes to N1QL: Querying External JSON Data

N1QL has many functions that allow you to perform a specific operation. One such function that has been added into the new Couchbase 5.0 DP is CURL.

CURL allows you to use N1QL to interact with external JSON endpoints; namely, Rest APIs that return results and data in JSON format. This function will allow N1QL to have a conservative set of curl functionality built into the language. Interaction primarily consists of data transfer to and from a server using the HTTP and HTTPS protocols. In short, the CURL function in N1QL provides you, the user, a subset of standard curl functionality within a query language.

No comments:

Fun With SQL: Functions in Postgres

DZone Database Zone Fun With SQL: Functions in Postgres In our previous  Fun with SQL  post on the  Citus Data  blog, we covered w...