protected function resolveType($type){
		static $patterns = array(
			'bool|bit' => Manager::BOOL,
			'bin|blob|bytea' => Manager::BINARY,
			'string|char|text|bigint|longlong' => Manager::TEXT,
			'int|long|byte|serial|counter' => Manager::INT,
			'float|real|double|numeric|number|decimal|money|currency' => Manager::FLOAT,
			'time|date|year' => Manager::DATETIME
		);

		foreach($patterns as $vendor => $universal){
			if(preg_match("~$vendor~i", $type))
				return $universal;
		}
		return Manager::TEXT;
	}