public static function forge($classname = null, $db_table_alias = null, $escape = true){
		if (!is_null($classname)) {
			$object = new $classname;
		} else if(get_called_class() != "Pragma\ORM\QueryBuilder") {
			$object = new static();
		}
		else {
			throw new \Exception("QueryBuilder can't be built without classname");
		}

		$object->db_table_alias = $db_table_alias;
		$object->escape = $escape;

		return $object;
	}
public static function forge($classname = null, $db_table_alias = null, $escape = true){
		if (!is_null($classname)) {
			$object = new $classname;
		} else if(get_called_class() != "Pragma\ORM\QueryBuilder") {
			$object = new static();
		}
		else {
			throw new \Exception("QueryBuilder can't be built without classname");
		}

		$object->db_table_alias = $db_table_alias;
		$object->escape = $escape;

		return $object;
	}
public static function forge ( $ classname = null , $ db_table_alias = null , $ escape = true ) { if ( ! is_null ( $ classname ) ) { $ object = new $ classname ; } else if ( get_called_class ( ) != "Pragma\ORM\QueryBuilder" ) { $ object = new static ( ) ; } else { throw new \ Exception ( "QueryBuilder can't be built without classname" ) ; } $ object -> db_table_alias = $ db_table_alias ; $ object -> escape = $ escape ; return $ object ; }
in order to get an instance on which execute the query
in order to get an instance on which execute the query