Skip to Content
0
Jan 13, 2021 at 04:49 PM

update where Sdk Javascript

16345 Views

Hello,

I just would like to know, How I can convert this cap node js expression (update where) into SDK Javascript?

 await tx.run(UPDATE(testEntity).set({
                        city: dataCity,
                        country: dataCountry
                    }).where({
                        id: id,
                        postcode: dataPostcode
                    }))

Thank you very much