Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

fix pq syntax error on NOT

Cette révision appartient à :
akuma06 2017-07-28 23:32:03 +02:00
Parent 92b82b7e81
révision af7f57650e

Voir le fichier

@ -127,7 +127,7 @@ func findOrderBy(parameters *structs.WhereParams, orderBy string, limit int, off
if !deleted {
conditionArray = append(conditionArray, "deleted_at IS NULL")
} else {
conditionArray = append(conditionArray, "deleted_at NOT NULL")
conditionArray = append(conditionArray, "deleted_at IS NOT NULL")
}
conditions := strings.Join(conditionArray, " AND ")