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