Skip to content

特定のコレクションの特定のIDを複製できるようにする #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
moezakura opened this issue Aug 25, 2022 · 2 comments

Comments

@moezakura
Copy link
Contributor

下のコマンドを実行するとコレクションを複製できるようにしたい

# Hoge/${id} を 10個複製する
./fti -c --duplicate-collection "Hoge/${id}" --duplicate-num 10

# サブコレクションの場合はこういう感じで
./fti -c --duplicate-collection "Hoge/${parentID}/Fuga/${collectionID}" --duplicate-num 10
@ghost
Copy link

ghost commented Aug 26, 2022

Firebase AuthenticationのUIDをidとして指定したいという事例もあるので、複製後のidを指定できるとよさそうですね。

@moezakura
Copy link
Contributor Author

確かに

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant