I have a products table with id and supplier_id columns.
How do I make upsertGraph update rows based on supplier_id instead of id when I fetch products from supplier?
Now upsertGraph only uses insert because there is no id property present.
EDIT
I fetch product lists from several different suppliers containing id, name, price
I store products in my database with id, name, price and supplier_id
Therefor I'm trying to make upsertGraph update/insert based on supplier_id, to update products based on supplier_id instead of id.
Is this possible?