You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for putting together such an amazing library.
We are using your library as a database for performing database interactions inside our unit testing and integration testing because it's so easy and convenient to set up. We are using Postgresql and TypeORM. We have come across an issue though: json_array_elements is not implemented.
I tried to implement it myself, but I couldn't understand it. In Postgresql, if you use this method in a query it produces rows as an output, by expanding the JSON array into a set of rows. I tried to use db.public.registerFunction but couldn't.
Is there any way you could give me a hint about how to implement this, please?
Thank you very much,
Dorel Barbu
The text was updated successfully, but these errors were encountered:
Hi,
First of all, thank you for putting together such an amazing library.
We are using your library as a database for performing database interactions inside our unit testing and integration testing because it's so easy and convenient to set up. We are using Postgresql and TypeORM. We have come across an issue though:
json_array_elements
is not implemented.I tried to implement it myself, but I couldn't understand it. In Postgresql, if you use this method in a query it produces rows as an output, by expanding the JSON array into a set of rows. I tried to use
db.public.registerFunction
but couldn't.Is there any way you could give me a hint about how to implement this, please?
Thank you very much,
Dorel Barbu
The text was updated successfully, but these errors were encountered: