Skip to content

SELECT: OCT

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

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

// SELECT OCT(`field`) AS `fieldOCT` FROM `table`
Clone this wiki locally