Dies ist z.B. nützlich beim Umgang mit einer Prioritäts-Spalte.
public static organizePriorities ( string $tableName, string $priorColumnName, string $whereCondition = '', string $orderBy = '', integer $startBy = 1 ) | ||
$tableName | string | Name der Datenbanktabelle |
$priorColumnName | string | Name der Spalte in der Tabelle, in der die Priorität (Integer) gespeichert wird |
$whereCondition | string | Where-Bedingung zur Einschränkung des ResultSets |
$orderBy | string | Sortierung des ResultSets |
$startBy | integer | Startpriorität |