Re: libpq prepared statement
Re: libpq prepared statement
- Subject: Re: libpq prepared statement
- From: "stephen joseph butler" <email@hidden>
- Date: Mon, 31 Mar 2008 14:56:12 -0500
On Mon, Mar 31, 2008 at 2:44 PM, Justin Giboney <
email@hidden> wrote:
> PQprepare *statement = PQPrepare(theConnection, "stmtname", "SELECT *
> FROM admin WHERE id = %s", 1, [theUUID]);
>
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html#//apple_ref/doc/uid/20000154-CJBHCCED
> p.s. why is it that Apple has no documentation on having Cocoa work
> with Databases? Try typing in "mysql" or "postgresql" in the search
> box of this page http://developer.apple.com/cocoa/ while restricting
> it to cocoa. Do they not want business to use Cocoa?
>
The Cocoa database support is through CoreData. If you want to do MySQL or
Pg then it's expected that you'll know how to do it yourself (or, actually,
that the respective DB companies will provide documentation). A search on
MSDN for MySQL only gets forum links... which isn't any better than what
Apple provides.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden