Propel
Propel copied to clipboard
filterByPrimaryKey should accept a comparison argument
The generated query class methods filterByPrimaryKey() allow to filter only by Criteria::EQUAL comparison.
Using them in generic code not knowing the column name of the PK column, it is not possible to exclude models by primary key from the resulting collection.
I think it should be easy to add the comparison as second argument wihout breaking existing functionality.