Skip to content

Conversation

@andrevlins
Copy link
Contributor

WhereDatePart must .ToLowerInvariant() the "part" var for later switchs dont miss and produce the default behavior.

condition.Part must use .ToLowerInvariant() to match who uses query on uppercase like .WhereDatePart("DATE", ..., ....);
@ahmad-moussawi ahmad-moussawi merged commit 7ef851b into sqlkata:master Feb 17, 2021
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