We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Question: When insert a column reports error:
sql: expected 0 arguments, got 6"
and I checked the code
- session_insert.go:341 if session.engine.dialect.URI().DBType == schemas.ORACLE && len(table.AutoIncrement) > 0 { res, err := session.queryBytes("select seq_atable.currval from dual", args...) if err != nil { return 0, err } ....
the args here is my insert arguments. like sess.Insert(bean), so when u query "select seq_atable.currval from dual" with args it reports an error.
sess.Insert(bean)
"select seq_atable.currval from dual"
The text was updated successfully, but these errors were encountered:
/cc @xormplus Urgent request
Sorry, something went wrong.
No branches or pull requests
Question: When insert a column reports error:
and I checked the code
the args here is my insert arguments. like
sess.Insert(bean)
, so when u query"select seq_atable.currval from dual"
with args it reports an error.The text was updated successfully, but these errors were encountered: