// Function from file: dbcore.dm public DBQuery(string sql_query = null, DBConnection connection_handler = null, dynamic cursor_handler = null) { if (Lang13.Bool(sql_query)) { this.sql = sql_query; } if (connection_handler != null) { this.db_connection = connection_handler; } if (Lang13.Bool(cursor_handler)) { this.default_cursor = cursor_handler; } this._db_query = DB13.new_query(); // Warning: Super call was HERE! If anything above HERE is needed by the super call, it might break!; return; }
// I have no idea why a type is being passed into this f*****g thing. public static ByTable columns(DB13_QUERY q, Type t) { Logger.DebugMinor("db->columns"); return(null); }
public static int row_count(DB13_QUERY q) { Logger.DebugMinor("db->row_count"); return(0); }
public static int rows_affected(DB13_QUERY q) { Logger.DebugMinor("db->rows_affected"); return(0); }
public static bool close(DB13_QUERY q) { Logger.DebugMinor("db->close-q"); return(false); }
public static string error_msg(DB13_QUERY connection) { Logger.DebugMinor("db->error_msg-q"); return(""); }
public static bool next_row(DB13_QUERY q, ByTable item, ByTable conversions) { Logger.DebugMinor("db->next_row"); return(false); }
public static bool execute(DB13_QUERY q, string sql_query, DB13_CONNECTION c, dynamic cursor, dynamic unknown_arg) { Logger.DebugMinor("db->execute"); return(false); }