[CDBI] Re: Can CDBI do this?

[prev] [thread] [next] [Date index for 2006/01/19]

From: Edward J. Sabol
Subject: [CDBI] Re: Can CDBI do this?
Date: 21:45 on 19 Jan 2006
Ben Lavender asked about the following:
>>> SELECT events.(essential) FROM events, certs WHERE ( events.duedate <
>>> "2999-01-01" AND certs.id = events.cert AND certs.type = "Some String I
>>> Input") ORDER BY dueDate LIMIT 10;

Bill Moseley replied:
>> Look at CDBI::Sweet;

Will Hawes replied:
> Or better still, switch to DBIx::Class.

Frankly, you don't need to do either one. Yes, CDBI can do this. Read the
CDBI docs on the set_sql method:

http://search.cpan.org/~tmtm/Class-DBI/lib/Class/DBI.pm#Ima%3A%3ADBI_queries

and read the Wiki node on using joins:

http://wiki.class-dbi.com/wiki/Using_joins

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Can CDBI do this?
Ben Lavender 21:11 on 19 Jan 2006

Re: [CDBI] Can CDBI do this?
Bill Moseley 21:20 on 19 Jan 2006

Re: [CDBI] Can CDBI do this?
Will Hawes 21:32 on 19 Jan 2006

[CDBI] Re: Can CDBI do this?
Edward J. Sabol 21:45 on 19 Jan 2006

Re: [CDBI] Re: Can CDBI do this?
Perrin Harkins 22:08 on 19 Jan 2006

Re: [CDBI] Re: Can CDBI do this?
Matt S Trout 22:14 on 19 Jan 2006

Generated at 09:31 on 23 Jan 2006 by mariachi v0.52