OVERVIEW
DEVELOPMENT NOTE
ObjectAdaptor::Store
'_insert' method is to store the corresponding object. However, in many cases, only knowing the object itself is not enough, while the some referent objects, in SQL term, foreign keys, are required.
the interface of this method is shown below,
sub _insert {
my ($self, $obj, $fks)=@_;
lkjasd
- '$obj' is the object you want to store.
- '$fks' is the hash reference, with keys of foreign key name and values as the foreign key ids or referent objects.
The order of store