Does the query class support incrementing a field like this?
$query = new Query("UPDATE MyList SET orderNumber = orderNumber + 1 WHERE orderNumber >= ?0 AND listId = ?1",$di);
$query->execute(array($moveTo,$myList->id));
Does the query class support incrementing a field like this?
$query = new Query("UPDATE MyList SET orderNumber = orderNumber + 1 WHERE orderNumber >= ?0 AND listId = ?1",$di);
$query->execute(array($moveTo,$myList->id));