Skip to content

Parse dialect & version#347

Merged
aljazerzen merged 1 commit intomainfrom
a
Apr 12, 2022
Merged

Parse dialect & version#347
aljazerzen merged 1 commit intomainfrom
a

Conversation

@aljazerzen
Copy link
Member

No description provided.

@aljazerzen aljazerzen requested a review from max-sixty April 11, 2022 11:18
Copy link
Member

@max-sixty max-sixty left a comment

Choose a reason for hiding this comment

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

Very nicely implemented! I can't even find something to improve on...


impl Dialect {
pub fn use_top(&self) -> bool {
matches!(self, Dialect::MsSql)
Copy link
Member

Choose a reason for hiding this comment

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

Possibly in the future we want to have each Dialect be a Struct that we implement a Trait for — for the moment this is excellent.

@max-sixty
Copy link
Member

I will do the docs for this...

@aljazerzen aljazerzen merged commit c0c2f07 into main Apr 12, 2022
@aljazerzen aljazerzen deleted the a branch April 12, 2022 06:34
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.

2 participants