Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for generated columns #581

Merged
merged 3 commits into from
Feb 1, 2023

Conversation

tooboredtocode
Copy link
Contributor

New Features

  • Generated columns

Breaking Changes

This change is backwards compatible

Copy link
Member

@ikrivosheev ikrivosheev left a comment

Choose a reason for hiding this comment

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

@tooboredtocode hello! Thank you for the PR! Can you add a link to documentation. I have never heard about this column type...

@ikrivosheev
Copy link
Member

@tooboredtocode hello! Thank you for the PR! Can you add a link to documentation. I have never heard about this column type...

I find an answer. Discussion was on discord: https://discord.com/channels/873880840487206962/900758332187484160/1063039879518359562

Copy link
Member

@ikrivosheev ikrivosheev left a comment

Choose a reason for hiding this comment

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

@tooboredtocode hello! Sorry for the delay, I had a vacation. LGTM!

@ikrivosheev
Copy link
Member

@tooboredtocode could you resolve conflicts?

@tooboredtocode
Copy link
Contributor Author

@ikrivosheev done 👍

@ikrivosheev ikrivosheev merged commit 0ea0d91 into SeaQL:master Feb 1, 2023
@tyt2y3
Copy link
Member

tyt2y3 commented Feb 7, 2023

Thank you. Can we add a doc test?

@tooboredtocode
Copy link
Contributor Author

Where could they be added, i did not find any similar tests where the new tests could fit in.

@@ -584,6 +585,18 @@ impl ColumnDef {
self
}

/// Sets the column as generated with SimpleExpr
pub fn generated<T>(&mut self, expr: T, stored: bool) -> &mut Self
Copy link
Member

@tyt2y3 tyt2y3 Feb 7, 2023

Choose a reason for hiding this comment

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

@github-actions
Copy link

🎉 Released In 0.29.0 🎉

Your participation is what makes us unique; your adoption is what drives us forward.
Thank you all in the Rust community for making SeaQL what it is today. 🦀
You are also invited to shape it's future! Please star our repos, every ⭐ counts!

@github-actions
Copy link

🎉 Released In 0.29.1 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

@tooboredtocode tooboredtocode deleted the generated-columns branch September 25, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants