Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs - bubble up Query --explain #40

Open
househippo opened this issue Feb 25, 2022 · 2 comments
Open

Docs - bubble up Query --explain #40

househippo opened this issue Feb 25, 2022 · 2 comments

Comments

@househippo
Copy link

I poked around and found what I needed.
I'm sure other would like to use the CBL-Tool to do the same.

(cblite) query --explain SELECT * FROM _
SELECT fl_result(fl_root(.body)) FROM kv_default AS _ WHERE (.flags & 1 = 0)

2|0|0| SCAN TABLE kv_default AS _

{"FROM":[{"COLLECTION":"_"}],"WHAT":[["."]]}

@borrrden
Copy link
Member

I don't understand what this is getting at.

@Fujio-Turner
Copy link

Fujio-Turner commented Sep 25, 2023

@borrrden .... Its about documentation and samples / example code of how to do the operation. Most people use --explain to debug a query. There is no example like here: https://docs.couchbase.com/couchbase-lite/current/swift/troubleshooting-queries.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants