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