theking2 / kingsoft-persist-db

implementation of ipersist for database
MIT License
0 stars 0 forks source link

mapping PHP properties to Field names #62

Open theking2 opened 1 month ago

theking2 commented 1 month ago

PHP properties should be mapped to field names especially for DB fields names.

$this->studentId should connect to student_id in the db. $this->customerAddressId should connect to customer_address_id

Also update the persist_rest/doc.php to reflect this change.

theking2 commented 1 month ago

see https://github.com/theking2/kingsoft-persist/issues/13