Skip to content

SELECT: ORD

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

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

// SELECT ORD(`field`) AS `fieldORD` FROM `table`
Clone this wiki locally