Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Update Primary Key with DBIx::Class

by Anonymous Monk
on Sep 19, 2019 at 02:21 UTC ( #11106358=note: print w/replies, xml ) Need Help??

in reply to Re: Update Primary Key with DBIx::Class
in thread Update Primary Key with DBIx::Class

This is most likely to be it. (An SQL monitor, if you have one, can confirm it.) You should be able to modify the primary-key value like any other column, but there could well be auto-commit behavior. As an experiment, try changing other columns with your existing code. (Use a very distinct value then search the whole table to see if it shows up anywhere at all.) If it doesn't, it's almost certain to be a missing commit.
  • Comment on Re^2: Update Primary Key with DBIx::Class

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11106358]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2021-05-07 11:20 GMT
Find Nodes?
    Voting Booth?
    Perl 7 will be out ...

    Results (91 votes). Check out past polls.