[Dbix-class] where does Main come from?
Hailin Hu
i at h2l.name
Wed Sep 4 04:46:34 GMT 2013
It seems that you already knew Main is the level representing Schema,
so what's the problem?
Maybe you prefer MyApp::Schema::ResultSet::*, but it is just a name,
isn't it? You can change it as you like.
Cheers
On Mon, Sep 2, 2013 at 11:39 PM, Dave Howorth
<dhoworth at mrc-lmb.cam.ac.uk> wrote:
> I'm just looking at DBIx::Class::Manual::Example
>
> It starts out by setting up a database and then goes on to 'Set up
> DBIx::Class::Schema' and all of a sudden it is creating a subdirectory
> called Main.
>
> Why? Where did that come from? It's supposed to be a simple example, so
> presumably there's a pretty important reason why this directory appears
> out of nowhere.
>
> Why is there no explanation of why we need that extra level of
> directory? Why is it called Main instead of Schema?
>
> Cheers, Dave
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk
More information about the DBIx-Class
mailing list