Date post: | 02-Jul-2015 |
Category: |
Technology |
Upload: | couchbase |
View: | 989 times |
Download: | 0 times |
N1QLan early peek at Couchbase's query language
developer preview available now
agenda
who, what, why, when, how, Q&A
agenda
who, what, why, when, how, Q&A
and, demo^
agenda
who, what, why, when, how, Q&A
demo^
why N1QL?
the world also hastrianglesnot only rectangles
the world also hastrianglesnot only rectangles
the world also hastrianglesnot only rectangles
the world also hastrianglesnot only rectangles
a language for triangles
why N1QL?
the solid core of N1QL
the solid core of N1QL
Non-First Normal Form
N1NF
Non-First Normal Form
the solid core of N1QL
the solid core of N1QL
N1QL
N1NF
Non-First Normal Form
key concepts
embrace JSON
all types are unified to JSON
key concepts
go beyond SQL
familiarity, and more
a quick tasteSELECT
name,
emailAddress AS email
FROM
users
WHERE
email = "[email protected]"
[
{ "name": "Jerry Sandi",
"email": "[email protected]”
}
]
FROM
users
WHERE
email = "[email protected]"
SELECT
name,
emailAddress AS email
a quick taste
[
{ "name": "Jerry Sandi",
"email": "[email protected]”
}
]
logical processing steps
FROM
WHERE
GROUP BY
HAVING
SELECT
DISTINCT
ORDER BY
OFFSET
LIMIT
demo!
when can I use N1QL?
N1QL developer preview 1
available today
at
http://query.couchbase.com
would love your feedback & help
http://query.couchbase.com
where to go next
room 1, sessions on N1QL
2:40pm to 4:20pm
http://query.couchbase.com
thanks!
room 1, session on N1QL
2:40pm to 4:20pm
http://query.couchbase.com
extra slides
links
• http://query.couchbase.coml
documentation, cheatsheet, whitepaper
how to get help
how can you help
downloads
• http://cbfs-ext.hq.couchbase.com/tuqtng
• language specification
• https://github.com/couchbaselabs/tuqtng/blob/master/docs/n1ql-v1.md
• open source
• https://github.com/couchbaselabs/tuqtng
FAQ?
• how does it go beyond SQL?
• non-first normal form?
• can I use against my database?
• today, just SELECT's
what about DML?
what's coming after v1, v2?
• what about non-JSON data?
the world
hasbeen
changing
in my lifetime
BDMS
mobile
NoSQL
3-tiered architecture
internet
move fasteror else
move fasteror else
the world also hastrianglesnot only rectangles
easy
modeling
with documents;
flexibility of no schema