Hello @Robert_Nitsche, Welcome,
I found no createCollection() method in context.services.get object.
I am not sure why you need to use createCollection() method, because when you insert a document it will create automatically.
You can refer to the documentation for further supported methods:
1 Like