Skip to content

Commit ef778de

Browse files
committed
Bugfix
1 parent 7ffc27a commit ef778de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queryBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default class QueryBuilder {
140140
const value = data[key];
141141

142142
// Ignore IDs and connections and empty fields
143-
if (!relations.has(key) && !model.skipField(key) && key !== 'id' && value !== null) {
143+
if (!relations.has(key) && !key.startsWith('$') && key !== 'id' && value !== null) {
144144
returnValue[key] = value;
145145
}
146146
});

0 commit comments

Comments
 (0)