Skip to content

Specifying a table name when using --tables and --wheres in the CLI #639

Answered by jgreet
nicholaslopez754 asked this question in FAQs
Discussion options

You must be logged in to vote

Hi, try entering one where statement per table, as a comma separated list, in the same order as the provided table names,

For example:

pscale db dump beam main --tables Account,Post --wheres "id = 'cl29ecsgb0014bvp9yxnazqbz',title = 'another one'"

Starting to dump tables 'Account,Post' from database beam to folder /Users/jgreet/tmp/pscale_dump_beam_main_20240627_145850
Dumping is finished! (elapsed time: 1.103153583s)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nicholaslopez754
Comment options

@jgreet
Comment options

@nicholaslopez754
Comment options

Answer selected by jgreet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQs
Labels
None yet
2 participants