-
Notifications
You must be signed in to change notification settings - Fork 13
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
Dsync generated code does not work with MySQL #46
Comments
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
May 22, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
longsleep
added a commit
to longsleep-io/dsync
that referenced
this issue
Aug 31, 2023
In certain cases it might be not desireable to write CRUD functions by hand. To avoid conflict this change adds the option to skip generating those functions. This for example is a workaround for MySQL which currently is not supported by the generated functions or to support unsigned integers in id fields. Related: Wulf#46 Related: Wulf#47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The generated code from dsync (for
create
andupdate
) usesget_result
which implicitly adds aRETURNING
to the generated SQL statement. MySQL does not supportRETURNING
hence, the trait check for generated code fails as theMysqlConnection
does not implement theSupportsReturningClause
marker trait.Instead the
create
andupdate
functions should useexecute
and leave it to the caller if it is needed to actually load the data after insert or update.The text was updated successfully, but these errors were encountered: