Skip to content

Add option for selecting tables to copy by a (regex) pattern #40

Open
@sgraaf

Description

@sgraaf

Besides just --all to select all tables, --table to select specific table, or --sql to run a custom SQL query, it would be nice to be able to select table to copy via a regex pattern for table names. It could look something like this

db-to-sqlite "postgresql://localhost/myblog" blog.db \
    --table-name-pattern "tag_\w+"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions