Repository navigation
add Cow<str> conversion to Value - #550
Conversation
ikrivosheev
left a comment
There was a problem hiding this comment.
@beckend, hey! Thank you for the PR! Some comments.
ikrivosheev
left a comment
There was a problem hiding this comment.
@beckend thank you! LGTM! @billy1624 @tyt2y3 can someone review PR?
deal with box
|
Thanks, my internet is dead, had to edit in mobile |
| } | ||
|
|
||
| fn column_type() -> ColumnType { | ||
| ColumnType::Text |
There was a problem hiding this comment.
I think ColumnType::String(None) is more appropriate and it align with the implementation of impl ValueType for String.
billy1624
left a comment
There was a problem hiding this comment.
Hey @beckend, thanks for contributions!
Just a small nitpick: https://github.com/beckend/sea-query/pull/1
Lifetime elided
add Cow<str> conversion to Value
add Cow<str> conversion to Value
* sea-query-rusqlite 0.2.0 * Postgres `GEN_RANDOM_UUID` #568 * 0.28.1 * Convert various UUID defined in `uuid::fmt` module into `sea_query::Value::Uuid` * Merge pull request #550 from beckend/cow add Cow<str> conversion to Value * 0.28.2 * 0.28.2 * CI * Get values from UpdateStatement * Update CHANGELOG.md * Supporting types and implementations for replacing SeaORM's `ColumnType` (#579) * Implements `PartialEq` for `ColumnType` * Add helper function to construct `ColumnType::Custom` * Changelog * Tweaks * 0.28.3 * Fix: comma separator for dropping multiple types in Postgres. * Add: doc-test for dropping multiple types in Postgres. * Formatted documentation code. * fix: enable required `syn` features * Update CHANGELOG.md * Revert "Update CHANGELOG.md" This reverts commit eea846e. * Revert "fix: enable required `syn` features" This reverts commit 032348e. * Refactoring: using fold method instead of loop. * Update CHANGELOG.md --------- Co-authored-by: Billy Chan <[email protected]> Co-authored-by: Chris Tsang <[email protected]> Co-authored-by: PreetamSing <[email protected]>
🎉 Released In 0.29.1 🎉Thank you everyone for the contribution! |
PR Info
Support Cow<str|String> #548
New Features
Value can now be converted from
Cow<str>