-
hello, I am trying to transform the result into the first query and then use it in the next query
```javascript
let devolution;
let one = pgrx.query('UPDATE public.appoinment SET status=$1 WHERE…
-
Hi, when I have a transaction and I need to retrieve a data returned from the first statement to insert it in the second, how can I do it?
```
pgrx.tx((t) => {
let insert1 = t.query('INSERT IN…
cdiaz updated
6 years ago
-
It will throw an error when initializing the database connection.
```
TypeError: pgrx is not a constructor
at Object. (/home/haoliang/Desktop/pg-compare/index.js:46:11)
at Module._compil…