func (c *Context) AddOperationResult(result bsoncore.Document) error {
	resultBinary := newBinaryFromBytes(result)
	defer resultBinary.close()

	if ok := C.mongocrypt_ctx_mongo_feed(c.wrapped, resultBinary.wrapped); !ok {
		return c.createErrorFromStatus()
	}
	return nil
}
// AddOperationResult feeds the result of a database operation to mongocrypt.
AddOperationResult feeds the result of a database operation to mongocrypt.
// AddOperationResult feeds the result of a database operation to mongocrypt .
func (c *Context) AddOperationResult(result bsoncore.Document) error {
	resultBinary := newBinaryFromBytes(result)
	defer resultBinary.close()
	if ok := C.mongocrypt_ctx_mongo_feed(c.wrapped, resultBinary.wrapped); !ok {
		return c.createErrorFromStatus()
	}
	return nil
}
func ( c * Context ) AddOperationResult ( result bsoncore . Document ) error { resultBinary := newBinaryFromBytes ( result ) defer resultBinary . close ( ) if ok := C . mongocrypt_ctx_mongo_feed ( c . wrapped , resultBinary . wrapped ) ; ! ok { return c . createErrorFromStatus ( ) } return nil }
AddOperationResult feeds the result of a database operation to mongocrypt.
AddOperationResult feeds the result of a database operation to mongocrypt .