Skip to content

Conversation

captn3m0
Copy link

Closes #627

Implemented named_params directly in C. Not a C programmer, mistakes are mine. Learned about @ and $ prefixes while reading the docs, so added them to the test as well.

However, this implementation ignores sqlite3_bind_parameter_index entirely, which is only used internally so shouldn't be an issue(?). As of now, the index of the parameter in the result might not match the value returned by sqlite3_bind_parameter_index in some cases.

But this feels better than having to pad the result with nulls.

Once this is finalized, I can update the changelog if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expose statement bind parameters
1 participant