Hello, I recently migrated to Couchbase from MongoDB. I like them both but prefer Couchbase.
I have a question about viewing documents in Table View in the Query editor.
Is there a way to adjust the order of the fields in Query/Table View? I have a movie collection database, and the documents’ fields are not in the order I prefer.
Below is a screenshot of a query in Table mode. I’d like the fields to be in the following order:
docid, title, director, foreign, silent, country. (I’ll be removing the id field because it is redundant with docid).
I’ll be adding data to these documents. I plan on using YAML code to create arrays for such fields as genre and actors. I understand pyYAML can convert the YAML to JSON and then embed the arrays into already-existing documents. I will want those fields at the end of the table. But right now, I want the fields in the order I just stated.
Is this possible? Is there a way for me to adjust the order of the fields? If so, what is needed to do this? I’m using the Community edition locally on my computer, if that makes a difference.
Thank you! Jd
