I have a request for the docs:
I'm adding a new table with 2 unique indexes / keys on it , one of
which is a multiple column key. the docs are really unclear on how
thats done in the setup.
example:
unique keys are:
1- single col - 'hex_id'
2- mult col - 'email','is active'
the only clear way to do this is as follows:
$meta->setup(
..
unique_key =[ 'hex_id' ]
..
);
$meta->add_unique_key( ['email','is_active'] )
it would be nice if there were a way to do:
$meta->setup(
..
unique_key =[
'hex_id' ,
['email','is_active']
]
..
);
maybe there is ? the docs aren't very clear in Rose::Db::Object or
Tutorial. Metadata had the most info, but it was still unclear as well.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rose-db-object