Skip to content

SELECT: LTRIM

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

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

// SELECT LTRIM(`field`) AS `fieldLTRIM` FROM `table`
Clone this wiki locally