issue_comments: 692946616

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/967#issuecomment-692946616 https://api.github.com/repos/simonw/datasette/issues/967 692946616 MDEyOklzc3VlQ29tbWVudDY5Mjk0NjYxNg== 9599 2020-09-15T19:59:21Z 2020-09-15T19:59:21Z OWNER

I wish I could call https://www.sqlite.org/c3ref/bind_parameter_count.html and https://www.sqlite.org/c3ref/bind_parameter_name.html from Python.

Might be possible to do that using ctypes - see this example code: https://mail.python.org/pipermail//pypy-commit/2013-February/071372.html

            param_count = lib.sqlite3_bind_parameter_count(self.statement)
            for idx in range(1, param_count + 1):
                param_name = lib.sqlite3_bind_parameter_name(self.statement,
                                                             idx)
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
702069429  
Powered by Datasette · Query took 1.475ms · About: github-to-sqlite