Skip to content

support mysql dialect INET_xxxx #5075

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

mcxinyu
Copy link

@mcxinyu mcxinyu commented Mar 15, 2024

add functions that support mysql dialect inet_aton/inet_ntoa/inet6_aton/inet6_ntoa

link #5072

mcxinyu added 2 commits March 15, 2024 14:18
add functions that support mysql dialect inet_aton/inet_ntoa/inet6_aton/inet6_ntoa
@hfhbd
Copy link
Collaborator

hfhbd commented Mar 19, 2024

Hey, can you please add some tests, eg in the integration tests of the gradle plugin?

@mcxinyu
Copy link
Author

mcxinyu commented Mar 22, 2024

Ok, I've added a test module.

@mcxinyu
Copy link
Author

mcxinyu commented May 7, 2024

Can this PR be checked?

import app.cash.sqldelight.dialects.mysql.MySqlTypeResolver
import com.alecstrong.sql.psi.core.psi.SqlFunctionExpr

class FooDialect : SqlDelightDialect by MySqlDialect() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this shouldn't be needed as you've already implemented the type resolver at the MySQL level

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

Successfully merging this pull request may close these issues.

3 participants