-
Notifications
You must be signed in to change notification settings - Fork 0
SELECT: SECOND
Ali Amirnezhad edited this page Jul 23, 2019
·
1 revision
const query = myQueryBuilder
.SELECT({ $SECOND: 'field' })
.from('table')
.get();
// SELECT SECOND(`field`) FROM `table`
const query = myQueryBuilder
.SELECT({ $SECOND: { field: 'fieldSECOND' } })
.from('table')
.get();
// SELECT SECOND(`field`) AS `fieldSECOND` FROM `table`