function allOf($foreign, $ref = null, $order = null, $limit = 0, $offset = 0) {
		if (!($foreign instanceof Table)) {
			$foreign = forward_static_call(
				[get_class($this->getTable()), "resolve"], 
				$foreign
			);
		}
		return $foreign->of($this, $ref, $order, $limit, $offset);
	}