Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
sfid由于映射后的独特限制和错误的 SF 同步(因此该字段保持空白),我总是在字段上收到 postgresql 错误。
sfid
在第二个 SF 同步错误之后,我无法保存其他行。
请帮忙
为了保存行而不会UNIQUE出现错误sfid,请尝试创建18 length uid以避免空白字段(postgreSQL 中的 x2 空白字段被认为是相等的)
UNIQUE
18 length uid
节点.js:
const { v4: uuidv4 } = require('uuid'); let uuid = uuidv4(); record.sfId = uuid.substring(1, 18);