Inserts the given key-value pair into the map.
No check is performed for key uniqueness. Note that map containing duplicate keys is considered invalid in Bolt protocol.
If the map's capacity is exhausted, the insertion will fail. If insertion fails, the map doesn't take ownership of key and value.
If the insertion is successful, map takes ownership of key and value.
A mg_string to be used as key.
Value to be inserted.
Return: The function returns non-zero value if insertion failed, zero otherwise.
See Implementation
Inserts the given key-value pair into the map.
No check is performed for key uniqueness. Note that map containing duplicate keys is considered invalid in Bolt protocol.
If the map's capacity is exhausted, the insertion will fail. If insertion fails, the map doesn't take ownership of key and value.
If the insertion is successful, map takes ownership of key and value.