SQL Code after 5 seconds of searching the WWW:
INSERT INTO suppliers (supplier_id, supplier_name) VALUES (supplier_seq.nextval, 'BigCompany');
Now you just have to tell DBIx::Class to pass the sequence name and ".nextval" unchanged to the database whenever you insert a new row. I'm too lazy to read the docs on how to do it.
Alexander
In reply to Re: DBIx::Class and Oracle sequences
by afoken
in thread DBIx::Class and Oracle sequences
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |