Skip to content

Allow user-defined functions to accept pointers #729

Open
@rittneje

Description

@rittneje

See #728. There the user had defined a function that took a string and SQLite tried to pass NULL to it. That resulted in an error from this library stating argument must be BLOB or TEXT. Changing the function to take a *string instead didn't work and resulted in an error stating don't know how to convert to *string. Please update the private callbackArg func used by RegisterFunc to properly handle an input type of kind reflect.Ptr.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions