Currently, that is the only index metadata available from N1QL.

SELECT * FROM system:indexes;

The reason for the JSON output is that it is composable and parseable.

On Friday, February 12, 2016 at 9:12:49 AM UTC-8, Dann S Washko wrote:
>
> I am looking for a way to pull out GSI definitions. If you log into the 
> WebUI, click the index tab, and then open any index listed you can see the 
> index definition. Is there a way to get this same information from n1ql or 
> the API?
>
> The only thing I can see from n1ql is to run something like 
>
> select * from system:indexes 
>
>
>
> which returns json on the index but not a nice definition like in the Web 
> UI.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to