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
Eponymous-only virtual tables #846
Comments
Did you try to build with |
It doesn't support them. This repo hard-codes go-sqlite3/sqlite3_opt_vtable.go Lines 202 to 227 in 6a8b301
|
Thank you @rittneje |
Thank you @rittneje for providing context, coming across this issue when searching around for |
One option I can think of is to add an optional interface. Something like: type EponymousOnlyModule interface {
Module
EponymousOnlyModule()
} Then you could say that if the module implements In terms of the |
As suggested here: mattn#846 (comment)
As suggested here: mattn#846 (comment)
* add support for defining an "eponymous only" virtual table As suggested here: #846 (comment) * add an example of an eponymous only vtab module * add a test case for an eponymous only vtab module
Does this package support eponymous-only virtual tables? I see some vtable related files that have the sqlite_vtable and vtable build tags, but I can't tell if they would allow a NULL xCreate.
The text was updated successfully, but these errors were encountered: