spotorm / spot2

Spot v2.x DataMapper built on top of Doctrine's Database Abstraction Layer
http://phpdatamapper.com
BSD 3-Clause "New" or "Revised" License
601 stars 101 forks source link

save and update functions are not define properly. #211

Closed flik closed 7 years ago

flik commented 7 years ago

save and update functions are not define properly. We face lot of issues in save and update in mostly frameworks.

tuupola commented 7 years ago

How they are not defined properly and what issues you have?

flik commented 7 years ago

You have defined Migration, Find, Custom query, relation, but I could not find anything in the readme related insert update. Mostly we stuck here in any framework. Here is example: https://laravel.com/docs/5.3/eloquent#inserting-and-updating-models

In this way you should told and also without joins life is miserable.

tuupola commented 7 years ago

http://phpdatamapper.com/docs/crud/

FlipEverything commented 7 years ago

I can +1 @tuupola You should read the documentation! If your issue is resolved, please close this thread.