home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 696446658

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/sqlite-utils/pull/161#issuecomment-696446658 https://api.github.com/repos/simonw/sqlite-utils/issues/161 696446658 MDEyOklzc3VlQ29tbWVudDY5NjQ0NjY1OA== 9599 2020-09-22T00:13:55Z 2020-09-22T00:14:21Z OWNER

Idea: allow a conversions= parameter, as seen on .insert_all() and friends, which lets you apply a SQL transformation function as part of the operation. E.g.:

python table.transform({"age": int}, conversions={"name": "upper(?)"})

https://sqlite-utils.readthedocs.io/en/stable/python-api.html#converting-column-values-using-sql-functions

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
705975133  
Powered by Datasette · Queries took 0.969ms · About: github-to-sqlite