Well this is my second day working through the JROCK Catalyst book.
It has been a little frustrating - but this has reinforced some of the paradigms behind MVC and Catalyst so it can be thought of as useful.
Todays TIP: find_or_new does not return and empty model if it fails. The new it returns has the primary key which it failed to find. This could be 'undef' or 'null', and this object is not suitable for a subsequent: update_or_insert. Instead, do a find, if that fails, create a new object.
PostgreSQL Extensions - A Deeper Look
-
My slides from my session "PostgreSQL Extensions - A Deeper Look" at
PostgresOpen 2019 and PostgresConf SV 2019
* PostgreSQL Extensions: A deeper look ...
4 years ago
No comments:
Post a Comment