Skip to content

SELECT: OCT

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

// SELECT OCT(`number`) FROM `users`
const query = myQueryBuilder
    .SELECT({ $OCT: { number: 'numberOCT' } })
    .from('users')
    .get();

// SELECT OCT(`number`) AS `numberOCT` FROM `users`
Clone this wiki locally