We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fceaec1 + ff9a04e commit a0a8132Copy full SHA for a0a8132
+dj/+internal/Table.m
@@ -862,7 +862,7 @@ case regexp(line, ['^[a-z][a-z\d_]*\s*' ... % name
862
if length(newattrs)==1
863
% unambiguous single attribute
864
if length(rel.primaryKey)==1
865
- attrs = self.primaryKey;
+ attrs = rel.primaryKey;
866
elseif isempty(attrs) && length(setdiff(rel.primaryKey, existingFields))==1
867
attrs = setdiff(rel.primaryKey, existingFields);
868
end
0 commit comments