3262 |
# Find out if the relation is a primary entity relation. |
# Find out if the relation is a primary entity relation. |
3263 |
my $entityTable = $self->{_metaData}->{Entities}; |
my $entityTable = $self->{_metaData}->{Entities}; |
3264 |
if (exists $entityTable->{$relationName}) { |
if (exists $entityTable->{$relationName}) { |
|
my $keyType = $entityTable->{$relationName}->{keyType}; |
|
|
Trace("Relation $relationName found in entity table with key type $keyType.") if T(3); |
|
|
# If the key is not a hash string, we must do the sort. |
|
|
if ($keyType ne 'hash-string') { |
|
3265 |
$retVal = 1; |
$retVal = 1; |
3266 |
} |
} |
|
} |
|
3267 |
# Return the result. |
# Return the result. |
3268 |
return $retVal; |
return $retVal; |
3269 |
} |
} |