[Dbix-class] Postgres "SELECT FROM ONLY"?

Len Jaffe lenjaffe at jaffesystems.com
Fri May 10 17:11:16 GMT 2013


You should be able to explicitly control which columns you want to select.
Can you show us how you are using the SELECT FORM ONLY in the SQL that
you're trying to translate?


On Fri, May 10, 2013 at 11:12 AM, Peter Rabbitson <rabbit+dbic at rabbit.us>wr=
ote:

> On Fri, May 10, 2013 at 05:57:27PM +0400, Alex Povolotsky wrote:
> > Hello!
> >
> > Is there a way to do PG's "SELECT FROM ONLY tablename" in
> > DBIx::Class without using literal SQL?
> >
>
> Sadly no. And it is unlikely to happen easily - we need the Data::Query
> transition to make this kind of stuff possible. Sorry about that.
>
> Cheers
>
> _______________________________________________
> 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
>



-- =

lenjaffe at jaffesystems.com   614-404-4214   www.lenjaffe.com
Proprietor: http://www.theycomewithcheese.com/ - An Homage to Fromage
Perl Advent Planet <http://www.lenjaffe.com/PerlAdventPlanet/> - Advent
Calendars: Perlish and otherwise.
Greenbar <http://www.greenbartraining.org/>: Grubmaster: 2012-2009, Grub
Asst: 2008, Trained: 2007.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20130510/bf2=
e48b2/attachment.htm


More information about the DBIx-Class mailing list