Select step: Add switch case default (in case it doesn't match any of the previous cases)
For example, I'm checking the number of rows returned by a database query:
case 0:
# no rows
case 1:
# ok
default:
# more rows than expected
Select step: Add switch case default (in case it doesn't match any of the previous cases)
For example, I'm checking the number of rows returned by a database query:
case 0:
# no rows
case 1:
# ok
default:
# more rows than expected