home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1618380888

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/565#issuecomment-1618380888 https://api.github.com/repos/simonw/sqlite-utils/issues/565 1618380888 IC_kwDOCGYnMM5gdohY 9599 2023-07-03T14:09:11Z 2023-07-03T14:09:31Z OWNER

For the CLI:

bash sqlite-utils rename-table data.db old_table_name new_table_name

For the Python code, should it go on Table or on Database? ```python db["foo"].rename_table("bar")

db.rename_table("foo", "bar") ``` I think I like the second better, it's slightly more clear.

Also need a design for an option for the .transform() method to indicate that the new table should be created with a new name without dropping the old one.

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