I have been moving my database from Mongodb to Firebase, and I am having trouble with some of the queries. When I query tickets, e.g. TicketModel.find({}). It returns a circular json structure that I cannot use. I have also tried with our InvoiceModel, which also returns a circular structure that I cannot use. Any help would be appreciated.
Welcome @Ezra_Cook,
To help understand this issue, can you please provide:
-
an example of the JSON output that is problematic for you to use
-
details of the driver & version you are writing your query in
Thanks,
Stennie
1 Like
JSON is built on two structures
A collection of name/value pairs. In various languages, this is realized as an object, record, struct, dictionary, hash table, keyed list, or associative array. An ordered list of values.