-
Notifications
You must be signed in to change notification settings - Fork 0
SELECT: REVERSE
Ali Amirnezhad edited this page Jul 24, 2019
·
1 revision
const query = myQueryBuilder
.SELECT({ $REVERSE: 'field' })
.from('table')
.get();
// SELECT REVERSE(`field`) FROM `table`
const query = myQueryBuilder
.SELECT({ $REVERSE: { field: 'fieldREVERSE' } })
.from('table')
.get();
// SELECT REVERSE(`field`) AS `fieldREVERSE` FROM `table`