Check_keys = FALSE functionality while MongoDb insert command to avoid checking keys

I have an object that should be stored exactly and I get an error Error: key must not contain '.'

So is there a way to ignore this?

I tried JSON.parse(JSON.stringify(object)) but it changes the string.

Any work around?

1 Like

Any solution to this ?