createData
Called when an instance is created and should be added to cache.
connection.createData(record)
Adds record
to the stored list of instances. Then, goes
through every query and adds record the queries it belongs to.