Skip to content

SELECT: MINUTE

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

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

// SELECT MINUTE(`field`) AS `fieldMINUTE` FROM `table`
Clone this wiki locally