Skip to content

Commit a8a550a

Browse files
committed
fix xrec and tablename saved as columns
1 parent cef32ed commit a8a550a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/database/declarative-database.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ export class DeclarativeDatabase {
100100
const now = this.hlc.now();
101101
const hlcString = Hlc.toString(now);
102102

103-
// Prepare values with system columns
104-
const valuesToInsert = { ...values };
103+
// Prepare values with system columns (filter out tracking properties)
104+
const valuesToInsert = this._extractRecordData(values);
105105

106106
if (!valuesToInsert['system_id']) {
107107
valuesToInsert['system_id'] = crypto.randomUUID();

0 commit comments

Comments
 (0)