Skip to content

SELECT: TIME

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

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

// SELECT TIME(`field`) AS `fieldTIME` FROM `table`
Clone this wiki locally