Views on CBL 2.0

Why I can’t use CBL Views in version 2.0?

Tks

Views have been replaced with a brand new Query API (with indexing support) which is more powerful and simpler to use. The new API also supports Full Text Search capabilities.

The Query API supports SQL like semantics for querying NoSQL so the learning curve for new developers is significantly reduced. Views have been a pain point with a lot of new developers in the past.
Finally, the new Query interface is is aligned with the N1QL which is used on our server side.

The first blog that introduces the Query interface is available here. The next in series will discuss more advanced queries.

1 Like