?? index.html
字號:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"><html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-us"> <meta name="description" content="MySQL C++ API: A C++ wrapper for the MySQL C API."> <meta name="KEYWORDS" content="MySQL C++ API, mysqlcppapi, MySql++, MySQL, C++ wrapper"> <meta name="GENERATOR" content="Mozilla/4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) [Netscape]"> <title>MySQL C++ API</title></head><body><center><h1>MySQL C++ API (mysqlcppapi)</h1></center><h2>Introduction</h2>mysqlcppapi is a C++ wrapper for the MySQL C API library.<p>It is a branch of the MySql++ project, but it has diverged significantlyfor the following reasons:<li>MySQL++ is aggressively optimised for speed, but optimisation should happenafter the design is mature, and that optimisation should be targeted. Prematureoptimisation obscures the design and prevents it from improving.</li><li>MySQL++ provides too many ways to do things instead of deciding onan interface. Again, this obscures the design.</li><li>MySQL++ uses preprocessor macros to an extent that is unacceptable in aC++ library.</li><p><br>These considerations mean that the interface has changed significantlyand some areas of functionality have been removed completely because theyare not maintainable. Some of this functionality may be added in futureversions if it can be implemented in a sensible way. New types of interfacesshould be added by subclassing or aggregating the existing simple classesrather than complicating the existing interfaces.<p>Here are the major changes:<li>All objects are classes with constructors and destructors, so all datais initialized.</li><li>Reference-counting is used to allow sharing of the various object instances and underlying connections, avoiding segfaultsor complicated memory management.</li><li>All classes are in the mysqlcppapi namespace</li><li>There is now no public member data.</li><li>Many methods have been un-inlined, allowing a much clearer file structure.</li><li>The 'custom' and stored query interfaces have been removed because theymade excessive use of preprocessor macros and perl-generated code.</li><li>Exceptions are no longer optional - they are part of the design.</li><li>The fields classes have been completely replaced.</li><p><br>If you disagree with these design decisions then please ignore thislibrary and continue with the MySQL++ code base. I created this branchbecause I needed it for my own use.<p>New functionality:<li>The FieldInfo class can generate the text needed to create a field in aMySQL query.</li><li>The FieldInfo::sql() method will prepare a field value for a MySQL query.</li><li>The Connection can supply a list of tables and the field information forany table.</li><h2>Download</h2>You can download mysqlcppapi from <a href="http://sourceforge.net/project/showfiles.php?group_id=7869">here</a>.<p>A standalone example project is also available.<h2>Required Libraries</h2>MySQL client library.<h2>Development</h2>The CVS repository, <a href="mailto:mysqlcppapi-main@lists.sourceforge.net">mailinglist</a>, bug tracker, and task manager are at<a href="http://sourceforge.net/project/?group_id=7869">sourceforge</a>.<br>The CVS snapshot is available <a href="http://cvs.sourceforge.net/cvstarballs/mysqlcppapi-cvsroot.tar.gz">here</a>.<h2>Authors</h2><p>Use the <a href="mailto:mysqlcppapi-main@lists.sourceforge.net">mailinglist</a>. If you email me directly about mysqlcppapi then I will ignore you.<p>Current maintainer:<br><a href="http://sourceforge.net/users/redi">Jonathan Wakely</a><p>mysqlcppapi v1.7.1 (branch of MySql++ 1.7) to v1.9.3:<br><a href="http://www.murrayc.com">Murray Cumming</a><p>MySql++ versions 1.2 and higher (1.7):<br><a href="mailto:sinisa@cytanet.com.cy">Sinisa Milivojevic</a><br><a href="mailto: monty@mysql.com">Michael Widenius</a><p>MySql++ versions before 1.2:<br><a href="mailto: kevinatk@home.com">Kevin Atkinson</a><p><a href="http://sourceforge.net"><img SRC="http://sourceforge.net/sflogo.php?group_id=7869&type=1" BORDER=0 height=31 width=88></a></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -