[Bio] / Sprout / ERDB.pm Repository:
ViewVC logotype

Diff of /Sprout/ERDB.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.91, Wed May 2 05:51:48 2007 UTC revision 1.92, Mon Jun 11 18:51:23 2007 UTC
# Line 1017  Line 1017 
1017              my $oldString = $fieldList->[$i];              my $oldString = $fieldList->[$i];
1018              if (length($oldString) > $maxLen) {              if (length($oldString) > $maxLen) {
1019                  # Here it's too big, so we truncate it.                  # Here it's too big, so we truncate it.
1020                  Trace("Truncating field $i in relation $relName to $maxLen characters from \"$oldString\".") if T(1);                  Trace("Truncating field $i ($fieldTypes->[$i]->{name}) in relation $relName to $maxLen characters from \"$oldString\".") if T(1);
1021                  $fieldList->[$i] = substr $oldString, 0, $maxLen;                  $fieldList->[$i] = substr $oldString, 0, $maxLen;
1022                  $retVal++;                  $retVal++;
1023              }              }
# Line 3127  Line 3127 
3127  fields specified returns multiple values, they are flattened in with the rest. For  fields specified returns multiple values, they are flattened in with the rest. For
3128  example, the following call will return a list of the features in a particular  example, the following call will return a list of the features in a particular
3129  spreadsheet cell, and each feature will be represented by a list containing the  spreadsheet cell, and each feature will be represented by a list containing the
3130  feature ID followed by all of its aliases.  feature ID followed by all of its essentiality determinations.
3131    
3132  C<< @query = $erdb->Get(['ContainsFeature', 'Feature'], "ContainsFeature(from-link) = ?", [$ssCellID], ['Feature(id)', 'Feature(alias)']); >>  C<< @query = $erdb->Get(['ContainsFeature', 'Feature'], "ContainsFeature(from-link) = ?", [$ssCellID], ['Feature(id)', 'Feature(essential)']); >>
3133    
3134  =over 4  =over 4
3135    

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3