Skip navigation.
 
mlRe: libpq prepared statement
FROM : stephen joseph butler
DATE : Mon Mar 31 21:56:12 2008

On Mon, Mar 31, 2008 at 2:44 PM, Justin Giboney <
<email_removed>> 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.

Related mailsAuthorDate
mllibpq prepared statement Justin Giboney Mar 31, 21:44
mlRe: libpq prepared statement stephen joseph but… Mar 31, 21:56
mlRe: libpq prepared statement Keary Suska Mar 31, 22:24
mlRe: libpq prepared statement Andrew Farmer Mar 31, 23:31
mlRe: libpq prepared statement Scott Ribe Apr 1, 01:04