Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: DBIx::Class : stop changing table, column, relationship names

by bliako (Monsignor)
on Mar 03, 2023 at 08:39 UTC ( [id://11150711]=note: print w/replies, xml ) Need Help??


in reply to Re^3: DBIx::Class : stop changing table, column, relationship names
in thread DBIx::Class : stop changing table, column, relationship names

Thank you NERDVANA. Your advice produced the result I wanted.

If the schema is mine, then tablenames are all lowercase. Having a relationship name same as the table name (as I wanted) simplifies things for me given that there is only 1 relationship to the external table. If more relationships exist to the same table, then it produces the same relationship name for all, which is a very bad side-effect. So, being an eternal DBIx::Class (and SQL) newbie perhaps I should just stick to the defaults.

Thanks, bliako

  • Comment on Re^4: DBIx::Class : stop changing table, column, relationship names

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-20 03:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found