Insert command on a servless instance (Mongo Shell 4.9.0)
breaking-serverless-1-shard-00-01(mongos-4.9.0-rc0)[mongos] testing> show collections
breaking-serverless-1-shard-00-01(mongos-4.9.0-rc0)[mongos] testing> db["hello"].insertOne({})
uncaught exception: TypeError: db.hello.insertOne is not a function :
@(shell):1:1
Insert command on a local instance (Mongo Shell 4.2)