This is a little GUI tool built with Tkinter. I tested it with Python 3.4.3, and the Couchbase client 2.0.1. Hope that people find it as useful as I already find it.
I have tested it on Windows and Mac OS X and it should probably work fine on Linux as well.
QueryRunner.py can be obtained by using hg (mercurial) to clone https://bitbucket.org/wpostma/couchbase-utilities
Or use the Download ZIP feature on Bitbucket site to get a ZIP file.
If the forums let me upload it, I would have uploaded it too. If I was allowed to upload a screenshot I would have uploaded one of those too.
3 Likes
Hi Warren,
Can you email me a screenshot and I’ll try to upload it?
I’ll also check out your tool after our conference rush next week.
Thanks,
Gerald (at) (couchbase) (dot) (com)
I’ve upped your trust level (see this description of discourse trust levels , an anti-spam necessity) so you can post screenshots, etc.
ilam
June 4, 2015, 3:25am
5
Hi Warren, Your GUI Tool received a mention in one of the N1QL presentations at Couchbase conference. Way to go!
1 Like
I was at that talk too, and said hello to Gerald in person.
W
1 Like
NikkiC
June 16, 2015, 6:12pm
7
Pulling now - thanks for sharing!
I have created a small Gist with a few N1QL queries, to get you started learning the new query language:
0README.md
![](http://www.couchbase.com/images/logo.svg)
#Learn N1QL by sample
N1QL is the document query language used to query data in Couchbase Server (CB). N1QL will be an integrated part of CB 4, until then there is a preview version available.
##SQL for JSON Documents
N1QL is the first language to combine the flexibility of JSON with power of SQL queries. With N1QL you can run SQL like queries against your CB data without the need to pre-build views. N1QL enables advanced ad-hoc document queries in a familiar query language.
##Learning
This file has been truncated. show original
N1QL_samples.sql
/*
* N1QL language reference
* The full N1QL language reference can be found here:
* ---------------------------------------------------------------------
* http://docs.couchbase.com/4.0/n1ql/n1ql-language-reference/index.html
* ---------------------------------------------------------------------
*/
/* create index on default bucket, required to enable N1QL queries on the bucket */
CREATE PRIMARY INDEX ON `default`
This file has been truncated. show original
2 Likes