0
4

1 回答 1

0

列集的正确定义(参见ColumnSetColumn):

const cs = new pgp.helpers.ColumnSet([
    '?first',
    'second',
    {name: 'date_read', mod: ':raw', init: ()=> 'NOW()'}
], {
    table: 'my-table',
});
于 2021-05-04T13:47:37.653 回答