Create New Collection Dynamically By Scripting

0 votes
Hi All

I want to create a new collection in my database dynamically by scripting(not from apphq). Which api should I use? I could not find.

Thanks
asked Apr 19, 2017 in Unity by gokhan (20 points)

1 Answer

0 votes
Hello Gokhan,

There is no separate API to create collection. You can call insert API with new collection name. The API will create the collection and insert the document in it.

Please let me know if you have any queries, I will be happy to help you.

Regards,

Rajeev
answered Apr 19, 2017 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...