console.log(columnsets.activites.forInsert)
给了我
ColumnSet {
table: "accounting"."activities"
columns: [
Column {
name: "note"
}
Column {
name: "title"
}
Column {
name: "context_id"
prop: "contextId"
}
Column {
name: "created_timestamp"
prop: "createdTimestamp"
}
Column {
name: "created_by_id"
prop: "createdById"
}
Column {
name: "object_id"
prop: "objectId"
cnd: true
}
]
}
pgp.helpers.insert({ contextId: user.objectId, createdById: user.objectId, createdTimestamp: now, note: null, objectId: uuid.v4(), title: MESSAGE_SUCCESS_USER_AUTHENTICATE }, columnSets.activities.forInsert)
我可以发誓直到最近它还在为我工作。我不知道发生了什么变化。我已经设置了表名,但为什么它会抱怨
Error: Table name is unknown.