code: def find(self, target, relation):
          ''' returns back all elements the target has a relation to '''
          query = 'select ob1.code from objects as ob1, objects as ob2, relations where relations.dst=ob1.id and relations.name=? and relations.src=ob2.id and ob2.code=?' # src is id not source :/
          for i in self._execute(query, (relation, self.serialize(target))):
              yield self.deserialize(i[0]f find(self, target, relation):
          ''' returns back all elements the target has a relation to '''
          query = 'select ob1.code from objects as ob1, objects as ob2, relations where relations.dst=ob1.id and relations.name=? and relations.src=ob2.id and ob2.code=?' # src is id not source :/
          for i in self._execute(query, (relation, self.serialize(target))):
              yield self.deserialize(i[0])
docs: returns back all elements the target has a relation to