-
Notifications
You must be signed in to change notification settings - Fork 109
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
too many arguments in call to _Cfunc_duckdb_nparams #9
Comments
How to compile the library(.a file) into an executable file? |
stmt, err := db.Prepare("SELECT * FROM users WHERE age > ?") The execution result error: panic: sql: expected 0 arguments, got 1 |
Sorry for my late response, but I'm not able to debug this at the moment. I'll have a look at it, once I have more spare time. |
Sorry for taking so long. I think it is fixed now. Please try it again with the latest version of DuckDB from their master. |
github.com/marcboeker/go-duckdb
../../go/pkg/mod/github.com/marcboeker/go-duckdb@v0.0.0-20211122095031-ceaaaf0726f1/statement.go:41:18: too many arguments in call to _Cfunc_duckdb_nparams
have (_Ctype_duckdb_prepared_statement, *_Ctype_ulonglong)
want (_Ctype_duckdb_prepared_statement)
make: *** [build] Error 2
platform :macos
duckdb version: 0.3.0
The text was updated successfully, but these errors were encountered: