Thursday, 16 May 2019

Sequelize , Is it possible to return OR query results to named arrays?

for example the querywhere: { [Op.or]: [{name: 'johnson'}, {name: 'bradley'}] }returns two arrays .then(() =>{ allJohnsons[] allBradleys[] })

Submitted May 17, 2019 at 01:37AM by horrofan

No comments:

Post a Comment