Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Anonymous Monk
on Sep 19, 2019 at 02:21 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found