gpt4 book ai didi

database - "heroku db:pull --exclude table_name"如何排除多个表?

转载 作者:太空狗 更新时间:2023-10-30 01:50:34 25 4
gpt4 key购买 nike

我在任何地方都找不到如何使用“--exclude”。当我尝试这段代码时

heroku help db:pull

我明白了:

Usage: heroku db:pull [DATABASE_URL]

pull heroku data down into your local database

DATABASE_URL should reference your local database. if not specified, it
will be guessed from config/database.yml

-c, --chunksize SIZE # specify the number of rows to send in each batch
-d, --debug # enable debugging output
-e, --exclude TABLES # exclude the specified tables from the pull
-f, --filter REGEX # only pull certain tables
-r, --resume FILE # resume transfer described by a .dat file
-t, --tables TABLES # only pull the specified tables

好的,我了解如何对一张表使用“-e”,但我想排除多个表。它不工作:

heroku db:pull -e users, versions

最佳答案

对我有用

heroku db:pull -e "stats admins" --app APP_NAME

关于database - "heroku db:pull --exclude table_name"如何排除多个表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13797134/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com