Skip to content

Get values from update statement - #578

Merged
ikrivosheev merged 1 commit into
0.28.xfrom
get-values-from-update-statement
Jan 12, 2023
Merged

ikrivosheev merged 1 commit into
0.28.xfrom
get-values-from-update-statement

Conversation

@billy1624

@billy1624 billy1624 commented Jan 10, 2023 •

Copy link
Copy Markdown
Member

PR Info

New Features

  • Getter for the UpdateStatement::values field

@billy1624 billy1624 self-assigned this Jan 10, 2023
@billy1624
billy1624 changed the base branch from master to 0.28.x January 10, 2023 14:06
@billy1624
billy1624 marked this pull request as ready for review January 11, 2023 13:34

@ikrivosheev ikrivosheev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@billy1624 hello! LGTM!

@ikrivosheev
ikrivosheev merged commit 765d603 into 0.28.x Jan 12, 2023
@ikrivosheev
ikrivosheev deleted the get-values-from-update-statement branch January 12, 2023 09:52
@ikrivosheev

Copy link
Copy Markdown
Contributor

@billy1624

Copy link
Copy Markdown
Member Author

Thanks!! @ikrivosheev

Comment thread src/query/update.rs
}

/// Get column values
pub fn get_values(&self) -> &Vec<(DynIden, Box<SimpleExpr>)> {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can this be an &[(DynIden, Box<SimpleExpr>)] instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Okay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants