home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1030455715

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/issues/399#issuecomment-1030455715 https://api.github.com/repos/simonw/sqlite-utils/issues/399 1030455715 IC_kwDOCGYnMM49a4Gj 9599 2022-02-05T00:15:28Z 2022-02-05T00:15:28Z OWNER The `conversions=` argument to `.insert()` and friends is designed to handle this case, but I don't think it's very elegant: https://sqlite-utils.datasette.io/en/stable/python-api.html#converting-column-values-using-sql-functions ```python db["places"].insert( {"name": "Wales", "geometry": wkt}, conversions={"geometry": "GeomFromText(?, 4326)"}, ) ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1124731464  
Powered by Datasette · Queries took 2.657ms