Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: how can I figure out what moniker DBIx::Class::Schema::Loader used for a given table?

by tomgracey (Scribe)
on Dec 29, 2017 at 02:16 UTC ( [id://1206385]=note: print w/replies, xml ) Need Help??


in reply to Re: how can I figure out what moniker DBIx::Class::Schema::Loader used for a given table?
in thread how can I figure out what moniker DBIx::Class::Schema::Loader used for a given table?

Thanks for your comment - but I did already look at the docs you mentioned and actually it doesn't help too much. You said "If you are not specifying a version..." - however the user has the option to specify the version. So if I were to try to emulate the module's naming system then I'd need to do it for all versions. Obviously that doesn't make sense. It seems odd to me that the same process that creates the monikers during make_schema_at cannot be queried independently of the make process. (This is what I am trying to find a way to do). Thanks for trying to help though...

  • Comment on Re^2: how can I figure out what moniker DBIx::Class::Schema::Loader used for a given table?
  • Download Code

Replies are listed 'Best First'.
Re^3: how can I figure out what moniker DBIx::Class::Schema::Loader used for a given table?
by 1nickt (Canon) on Dec 29, 2017 at 03:28 UTC

    I guess I can't conceive of any case in which I'd want to give my users that much control over the inner workings of my app. Is it really necessary? If you need to provide access to other options, can you create a wrapper that supports only the ones you want to enable?


    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found