diff --git a/README.md b/README.md index 2b7553b..fbacf8c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# couch-photon +# couch-photon Photon is an alternative CouchDB admin panel with all standard and a lot of unique features. Photon is a single CouchDB design document with attachments, so it can be installed on any running CouchDB without rebuilding or reconfiguring. Basic Photon features are shown in a short screencast at [youtu.be/M9ptWXfwMN8](https://youtu.be/M9ptWXfwMN8). @@ -11,7 +11,7 @@ Photon is completely self-contained and is safe for restricted networks. Unless * Instant search in view results and JSON trees * JSON editor with JS syntax and out-of-order undo * Group operations with DBs, ACLs, docs and sync tasks -* View editor with JS, Erlang, Mango and SQL support +* View editor with JS, Erlang, Mango and [SQL](#sql-queries) support * Node and cluster level stats display and config * Document revisions structured diff * Local docs list and view @@ -114,6 +114,12 @@ Photon design document includes superficial CouchDB performance test accessible The test provides good insights how `q,n` cluster params impact performance. Also, the test shows JS query server costs, and how QS performance depends on sharding options. +## SQL queries + +Photon supports a subset of SQL for querying CouchDB, SQL expressions are translated into Mango client-side. Only features allowed by Mango are supported, particularly – no joins are allowed and ordering is limited. Anyway, even a subset of SQL is very handy and concise. + +SQL command line and stored queries live in viewindices dropdown. + ## Dedicated host Photon can run as a couchapp on a dedicated domain. To set up Photon for a dedicated host