pgobject / PGObject

Database-facing routines for the PGObject OO/PostgreSQL interfaces in perl
BSD 2-Clause "Simplified" License
2 stars 5 forks source link

Code generator *_get() ORM map #2

Open ehuelsmann opened 9 years ago

ehuelsmann commented 9 years ago

In LedgerSMB, we have a largish number of stored procedures which simply wrap

SELECT * FROM <table> WHERE <primary_key> = <the_object>

It seems like a nice extension of the ORM mapper to not have to write code like that.

einhverfr commented 1 year ago

We might indeed want to create a PGObject::Util module to be able to declaratively generate these.