Closed leninzprahy closed 5 years ago
Ok, thanks! I have question - what's your use-case?
I have two tables (e.g. products
and products_category
) and I want use only one repository, with shared code.
Otherwise, in the createEntity
method, the $table
parameter is used to get the primary key, so it will be unified (in methods createEntity
and createEntities
).
Ok thanks. Can you please change commit message to:
Repository: creating entities uses table from parameter
Method createEntities have parameter $table, but the primary key retrieval function did not use it.
Merged as 5e4d1aa1008d62c25707b4dd70c391c9f0020623.
Method createEntities have parameter $table, but the primary key retrieval function did not use it. No tests, sorry.