Selects and saves as new layer all features from input layer that satisfy condition.
NOTE: algorithm is case-sensitive (“qgis” is different from “Qgis” and “QGIS”)
Comparison operator.
Options:
Default: 0
Value to compare.
Default: (not set)
processing.runalg('qgis:selectbyattribute', input, field, operator, value, output)