Skip to content

Commit 46fa0f4

Browse files
author
Zoran Cvetkov
committed
add vid to the list of selected columns
1 parent 1ae5dd7 commit 46fa0f4

File tree

1 file changed

+4
-1
lines changed
  • store/postgres/src/relational

1 file changed

+4
-1
lines changed

store/postgres/src/relational/dsl.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,10 @@ impl<'a> Table<'a> {
254254
}
255255

256256
match column_names {
257-
AttributeNames::All => cols.extend(self.meta.columns.iter()),
257+
AttributeNames::All => {
258+
cols.extend(self.meta.columns.iter());
259+
cols.push(&*VID_COL);
260+
}
258261
AttributeNames::Select(names) => {
259262
let pk = self.meta.primary_key();
260263
cols.push(pk);

0 commit comments

Comments
 (0)