Re: [Mysql-cocoa-users] Re: mysql_list_dbs
Brought to you by:
sergecohen
From: Bertrand M. <bma...@wa...> - 2002-05-02 10:39:48
|
le 2/05/02 11:10, Serge Cohen =E0 co...@em... a =E9crit=A0: > Hi; > I just got your mail now. >=20 > I'll try to do it fast, what do you want as a result (is MySQLResult > Ok?), I have to check exactly how the C API looks like to know exactly > what I can do for you. Yes, a MySQLResult is fine. I have checked LucidSQL and they return a NSArray which is not really appropriate I think. One would expect a wrapper method to return the same kind of object as the original API does, otherwis= e it can become confusing. The mysql_list_dbs method return a MYSQL_RES originally. This is more compatible with the Model-View-Controller paradigm= . > For the autorelease, the policy of the framework is the same as the one > descibe in the Objective-C book > (file:///Developer/Documentation/Cocoa/ObjectiveC/6ObjectOwnership/index.= html, > or the PDF version). I will check that. > Thanks for the feed back. No problem. I thank you for maintaining the wrapper. Bertrand Mansion Mamasam |