functions to run on either the server or the client side, when creating, updating, deleting or reading.
Should there be pre_create, pre_update ... and post_create, post_update ....
The parameter list in the former should be objects as they are read from the client request, and in the later, as they are read from the database.
A pre_read function should should probably return a tuple of member pointers, as they ought to be retried fro the database, ie. to execute a specific "SELECT <>" statement instead of "SELECT *"
functions to run on either the server or the client side, when creating, updating, deleting or reading.
Should there be pre_create, pre_update ... and post_create, post_update ....
The parameter list in the former should be objects as they are read from the client request, and in the later, as they are read from the database.
A pre_read function should should probably return a tuple of member pointers, as they ought to be retried fro the database, ie. to execute a specific "SELECT <>" statement instead of "SELECT *"