After l make a replica set connection by rs_connect/1, it seems like insert/2 is still unavilable cause the get(mongo_action_context) operation is still undefined.And l recognized that the only "put" operation is at do/5. So does it really need to use do/5 before everthing?
Did l make a stupid operation or that's the code's bad
After l make a replica set connection by rs_connect/1, it seems like insert/2 is still unavilable cause the get(mongo_action_context) operation is still undefined.And l recognized that the only "put" operation is at do/5. So does it really need to use do/5 before everthing? Did l make a stupid operation or that's the code's bad