Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libpq prepared statement



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >libpq prepared statement (From: Justin Giboney <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.