Skip to content

SELECT: FROM_BASE64

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

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

// SELECT FROM_BASE64(`field`) AS `fieldFROM_BASE64` FROM `table`
Clone this wiki locally