Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ Updatability FlightSqlResultSetMetadata::GetUpdatable(int column_position) {
bool FlightSqlResultSetMetadata::IsAutoUnique(int column_position) {
ColumnMetadata metadata = GetMetadata(schema_->field(column_position - 1));

// TODO: Is AutoUnique equivalent to AutoIncrement?
// AUTO_UNIQUE_VALUE (ODBC 3.0+) is equivalent to
// AUTO_INCREMENT (ODBC 2.0). Both indicate columns
// that automatically generate unique values.
Comment on lines +225 to +227
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes the statement is correct.

return metadata.GetIsAutoIncrement().ValueOrElse([] { return false; });
}

Expand Down
Loading