Skip to content

SELECT: HEX

Ali Amirnezhad edited this page Jul 23, 2019 · 2 revisions
const query = myQueryBuilder
    .SELECT({ $HEX: 'field' })
    .from('table')
    .get();

// SELECT HEX(`field`) FROM `table`
const query = myQueryBuilder
    .SELECT({ $HEX: { field: 'fieldHEX' } })
    .from('table')
    .get();

// SELECT HEX(`field`) AS `fieldHEX` FROM `table`
Clone this wiki locally