home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1030454114

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/398#issuecomment-1030454114 https://api.github.com/repos/simonw/sqlite-utils/issues/398 1030454114 IC_kwDOCGYnMM49a3ti 9599 2022-02-05T00:14:47Z 2022-02-05T00:14:47Z OWNER I like these designs a lot. I would suggest `sqlite-utils create database.db --init-spatialite` there for consistency with the `sqlite-utils init-spatialite database.db` command. The other part of this story is how we support actually inserting spatial data from the command-line. I opened an issue about the challenges in doing that for the Python API here - #399 - but we need a good answer for the CLI too. I don't yet have any good ideas here. The `conversions=` option in the Python library was designed to cover these kinds of cases but it's pretty clunky and I don't think it's very widely used: https://sqlite-utils.datasette.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} 1124237013  
Powered by Datasette · Queries took 9.167ms