mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-19 01:50:49 +00:00
Install header ... document it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@19254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ced08a42d3
commit
a725a252d3
4 changed files with 165 additions and 85 deletions
|
@ -3,6 +3,7 @@ Fri May 07 09:15:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
Add methods to log duration of any statements over a certain
|
Add methods to log duration of any statements over a certain
|
||||||
limit.
|
limit.
|
||||||
Tidy instance variables ... prefix mprivate ones with underscore.
|
Tidy instance variables ... prefix mprivate ones with underscore.
|
||||||
|
Install header!
|
||||||
|
|
||||||
Thu Apr 29 15:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
Thu Apr 29 15:20:00 2004 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,8 @@ include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
-include config.make
|
-include config.make
|
||||||
|
|
||||||
|
PACKAGE_NAME = SQLClient
|
||||||
|
|
||||||
TEST_TOOL_NAME = testPostgres testMySQL testECPG
|
TEST_TOOL_NAME = testPostgres testMySQL testECPG
|
||||||
testPostgres_OBJC_FILES = testPostgres.m
|
testPostgres_OBJC_FILES = testPostgres.m
|
||||||
testPostgres_LIB_DIRS += -L./obj
|
testPostgres_LIB_DIRS += -L./obj
|
||||||
|
@ -17,8 +19,14 @@ testECPG_LIB_DIRS += -L./obj
|
||||||
|
|
||||||
|
|
||||||
LIBRARY_NAME=SQLClient
|
LIBRARY_NAME=SQLClient
|
||||||
|
|
||||||
SQLClient_OBJC_FILES = SQLClient.m
|
SQLClient_OBJC_FILES = SQLClient.m
|
||||||
|
|
||||||
|
SQLClient_HEADER_FILES = SQLClient.h
|
||||||
|
|
||||||
|
|
||||||
|
SQLClient_HEADER_FILES_INSTALL_DIR = SQLClient
|
||||||
|
|
||||||
|
|
||||||
DOCUMENT_NAME=SQLClient
|
DOCUMENT_NAME=SQLClient
|
||||||
SQLClient_AGSDOC_FILES = SQLClient.h
|
SQLClient_AGSDOC_FILES = SQLClient.h
|
||||||
|
|
|
@ -130,6 +130,11 @@
|
||||||
to modify <code>configure.ac</code> so that it will detect the
|
to modify <code>configure.ac</code> so that it will detect the
|
||||||
required headers and libraries on your system, and supply na patch.
|
required headers and libraries on your system, and supply na patch.
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
Once the library is installed, you can include the header file
|
||||||
|
<code><SQLClient/SQLClient.h%gt;</code> and link your programs
|
||||||
|
with the <code>SQLClient</code> library to use it.
|
||||||
|
</item>
|
||||||
</list>
|
</list>
|
||||||
<p>
|
<p>
|
||||||
Bug reports, patches, and contributions (eg a backend bundle for a
|
Bug reports, patches, and contributions (eg a backend bundle for a
|
||||||
|
|
236
SQLClient.html
236
SQLClient.html
|
@ -12,8 +12,8 @@
|
||||||
<dd>
|
<dd>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<p><b>Version:</b> 1.2</p>
|
<p><b>Version:</b> 1.4</p>
|
||||||
<p><b>Date:</b> 2004/04/27 08:23:15</p>
|
<p><b>Date:</b> 2004/05/07 08:16:16</p>
|
||||||
<p><b>Copyright:</b> (C) 2004 Free Software Foundation, Inc.</p>
|
<p><b>Copyright:</b> (C) 2004 Free Software Foundation, Inc.</p>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -217,6 +217,15 @@ Current backend bundles are - </p>
|
||||||
supply na patch.
|
supply na patch.
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
|
||||||
|
Once the library is installed, you can include the
|
||||||
|
header file
|
||||||
|
<code><SQLClient/SQLClient.h%gt;</code> and link
|
||||||
|
your programs with the <code>SQLClient</code> library
|
||||||
|
to use it.
|
||||||
|
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
@ -268,12 +277,100 @@ Current backend bundles are - </p>
|
||||||
</p>
|
</p>
|
||||||
<br/><hr width="50%" align="left" />
|
<br/><hr width="50%" align="left" />
|
||||||
<h2>Instance Variables for SQLClient Class</h2>
|
<h2>Instance Variables for SQLClient Class</h2>
|
||||||
<h3><a name="ivariable$SQLClient*client">client</a></h3>
|
<h3><a name="ivariable$SQLClient*_client">_client</a></h3>
|
||||||
@private NSString* <b>client</b>;<br />
|
@private NSString* <b>_client</b>;<br />
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
Identifier within backend
|
Identifier within backend
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_database">_database</a></h3>
|
||||||
|
@private NSString* <b>_database</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
The configured database name/host
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_debugging">_debugging</a></h3>
|
||||||
|
@private unsigned int <b>_debugging</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
The current debugging level
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_duration">_duration</a></h3>
|
||||||
|
@private NSTimeInterval <b>_duration</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
<em>Description forthcoming.</em>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_inTransaction">_inTransaction</a></h3>
|
||||||
|
@private BOOL <b>_inTransaction</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
A flag indicating whether this instance is currently
|
||||||
|
within a transaction. This variable must
|
||||||
|
<em>only</em> be set by the
|
||||||
|
<a rel="gsdoc" href="#method$SQLClient-begin">
|
||||||
|
-begin
|
||||||
|
</a>
|
||||||
|
|
||||||
|
, <a rel="gsdoc" href="#method$SQLClient-commit">-commit</a>
|
||||||
|
or
|
||||||
|
<a rel="gsdoc" href="#method$SQLClient-rollback">
|
||||||
|
-rollback
|
||||||
|
</a>
|
||||||
|
|
||||||
|
methods. <br /> Are we inside a transaction?
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_lastOperation">_lastOperation</a></h3>
|
||||||
|
@private NSDate* <b>_lastOperation</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Timestamp of last operation. <br /> Maintained by
|
||||||
|
the
|
||||||
|
<a rel="gsdoc" href="#method$SQLClient-simpleExecute:">
|
||||||
|
-simpleExecute:
|
||||||
|
</a>
|
||||||
|
|
||||||
|
and
|
||||||
|
<a rel="gsdoc" href="#method$SQLClient-simpleQuery:">
|
||||||
|
-simpleQuery:
|
||||||
|
</a>
|
||||||
|
|
||||||
|
methods.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_name">_name</a></h3>
|
||||||
|
@private NSString* <b>_name</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Unique identifier for instance
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_password">_password</a></h3>
|
||||||
|
@private NSString* <b>_password</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
The configured password
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="ivariable$SQLClient*_user">_user</a></h3>
|
||||||
|
@private NSString* <b>_user</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
The configured user
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
<h3><a name="ivariable$SQLClient*connected">connected</a></h3>
|
<h3><a name="ivariable$SQLClient*connected">connected</a></h3>
|
||||||
|
@ -294,22 +391,6 @@ Current backend bundles are - </p>
|
||||||
|
|
||||||
methods.
|
methods.
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*database">database</a></h3>
|
|
||||||
@private NSString* <b>database</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
The configured database name/host
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*debugging">debugging</a></h3>
|
|
||||||
@private unsigned int <b>debugging</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
The current debugging level
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
<h3><a name="ivariable$SQLClient*extra">extra</a></h3>
|
<h3><a name="ivariable$SQLClient*extra">extra</a></h3>
|
||||||
|
@ -318,46 +399,6 @@ Current backend bundles are - </p>
|
||||||
|
|
||||||
For subclass specific data
|
For subclass specific data
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*inTransaction">inTransaction</a></h3>
|
|
||||||
@private BOOL <b>inTransaction</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
A flag indicating whether this instance is currently
|
|
||||||
within a transaction. This variable must
|
|
||||||
<em>only</em> be set by the
|
|
||||||
<a rel="gsdoc" href="#method$SQLClient-begin">
|
|
||||||
-begin
|
|
||||||
</a>
|
|
||||||
|
|
||||||
, <a rel="gsdoc" href="#method$SQLClient-commit">-commit</a>
|
|
||||||
or
|
|
||||||
<a rel="gsdoc" href="#method$SQLClient-rollback">
|
|
||||||
-rollback
|
|
||||||
</a>
|
|
||||||
|
|
||||||
methods. <br /> Are we inside a transaction?
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*lastOperation">lastOperation</a></h3>
|
|
||||||
@private NSDate* <b>lastOperation</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
Timestamp of last operation. <br /> Maintained by
|
|
||||||
the
|
|
||||||
<a rel="gsdoc" href="#method$SQLClient-simpleExecute:">
|
|
||||||
-simpleExecute:
|
|
||||||
</a>
|
|
||||||
|
|
||||||
and
|
|
||||||
<a rel="gsdoc" href="#method$SQLClient-simpleQuery:">
|
|
||||||
-simpleQuery:
|
|
||||||
</a>
|
|
||||||
|
|
||||||
methods.
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
<h3><a name="ivariable$SQLClient*lock">lock</a></h3>
|
<h3><a name="ivariable$SQLClient*lock">lock</a></h3>
|
||||||
|
@ -366,30 +407,6 @@ Current backend bundles are - </p>
|
||||||
|
|
||||||
Maintain thread-safety
|
Maintain thread-safety
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*name">name</a></h3>
|
|
||||||
@private NSString* <b>name</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
Unique identifier for instance
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*password">password</a></h3>
|
|
||||||
@private NSString* <b>password</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
The configured password
|
|
||||||
|
|
||||||
</p>
|
|
||||||
<hr width="25%" align="left" />
|
|
||||||
<h3><a name="ivariable$SQLClient*user">user</a></h3>
|
|
||||||
@private NSString* <b>user</b>;<br />
|
|
||||||
<p>
|
|
||||||
|
|
||||||
The configured user
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
<br/><hr width="50%" align="left" /><br/>
|
<br/><hr width="50%" align="left" /><br/>
|
||||||
|
@ -399,10 +416,14 @@ Current backend bundles are - </p>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Convenience)-queryString:,...">-queryString:,...</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Convenience)-queryString:,...">-queryString:,...</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Convenience)-singletons:">-singletons:</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Convenience)-singletons:">-singletons:</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)+debugging">+debugging</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)+debugging">+debugging</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)+durationLogging">+durationLogging</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)+setDebugging:">+setDebugging:</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)+setDebugging:">+setDebugging:</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)+setDurationLogging:">+setDurationLogging:</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-debug:,...">-debug:,...</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-debug:,...">-debug:,...</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-debugging">-debugging</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-debugging">-debugging</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-durationLogging">-durationLogging</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-setDebugging:">-setDebugging:</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-setDebugging:">-setDebugging:</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Logging)-setDurationLogging:">-setDurationLogging:</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Subclass)-backendConnect">-backendConnect</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Subclass)-backendConnect">-backendConnect</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Subclass)-backendDisconnect">-backendDisconnect</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Subclass)-backendDisconnect">-backendDisconnect</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Subclass)-backendExecute:">-backendExecute:</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient(Subclass)-backendExecute:">-backendExecute:</a></li>
|
||||||
|
@ -1371,10 +1392,14 @@ NULL field items are returned as NSNull objects. </p>
|
||||||
<b>Method summary</b>
|
<b>Method summary</b>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient+debugging">+debugging</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient+debugging">+debugging</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient+durationLogging">+durationLogging</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient+setDebugging:">+setDebugging:</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient+setDebugging:">+setDebugging:</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient+setDurationLogging:">+setDurationLogging:</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-debug:,...">-debug:,...</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-debug:,...">-debug:,...</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-debugging">-debugging</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-debugging">-debugging</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-durationLogging">-durationLogging</a></li>
|
||||||
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-setDebugging:">-setDebugging:</a></li>
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-setDebugging:">-setDebugging:</a></li>
|
||||||
|
<li><a rel="gsdoc" href="SQLClient.html#method$SQLClient-setDurationLogging:">-setDurationLogging:</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<hr width="50%" align="left" />
|
<hr width="50%" align="left" />
|
||||||
<h3><a name="method$SQLClient(Logging)+debugging">debugging </a></h3>
|
<h3><a name="method$SQLClient(Logging)+debugging">debugging </a></h3>
|
||||||
|
@ -1382,7 +1407,16 @@ NULL field items are returned as NSNull objects. </p>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
Return the class-wide debugging level, which is
|
Return the class-wide debugging level, which is
|
||||||
inherited by all newly created minstances.
|
inherited by all newly created instances.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="method$SQLClient(Logging)+durationLogging">durationLogging </a></h3>
|
||||||
|
+ (<a rel="gsdoc" href="/usr/home/brains99/GNUstep/System/Library/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>durationLogging</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Return the class-wide duration logging threshold,
|
||||||
|
which is inherited by all newly created instances.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
|
@ -1393,6 +1427,15 @@ NULL field items are returned as NSNull objects. </p>
|
||||||
Set the debugging <var>level</var> to be inherited by
|
Set the debugging <var>level</var> to be inherited by
|
||||||
all new instances.
|
all new instances.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="method$SQLClient(Logging)+setDurationLogging:">setDurationLogging: </a></h3>
|
||||||
|
+ (void) <b>setDurationLogging:</b> (<a rel="gsdoc" href="/usr/home/brains99/GNUstep/System/Library/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)threshold;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Set the duration logging <var>threshold</var> to be
|
||||||
|
inherited by all new instances.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
<h3><a name="method$SQLClient(Logging)-debug:,...">debug: ,...</a></h3>
|
<h3><a name="method$SQLClient(Logging)-debug:,...">debug: ,...</a></h3>
|
||||||
|
@ -1411,6 +1454,18 @@ NULL field items are returned as NSNull objects. </p>
|
||||||
|
|
||||||
Return the current debugging level.
|
Return the current debugging level.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="method$SQLClient(Logging)-durationLogging">durationLogging </a></h3>
|
||||||
|
- (<a rel="gsdoc" href="/usr/home/brains99/GNUstep/System/Library/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>) <b>durationLogging</b>;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Returns the threshold above which queries and
|
||||||
|
statements taking a long time to execute are
|
||||||
|
logged. A negative value (default) indicates that
|
||||||
|
this logging is disabled. A value of zero means that
|
||||||
|
all statements are logged.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
<h3><a name="method$SQLClient(Logging)-setDebugging:">setDebugging: </a></h3>
|
<h3><a name="method$SQLClient(Logging)-setDebugging:">setDebugging: </a></h3>
|
||||||
|
@ -1421,6 +1476,17 @@ NULL field items are returned as NSNull objects. </p>
|
||||||
overrides the default <var>level</var> inherited
|
overrides the default <var>level</var> inherited
|
||||||
from the class.
|
from the class.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
<hr width="25%" align="left" />
|
||||||
|
<h3><a name="method$SQLClient(Logging)-setDurationLogging:">setDurationLogging: </a></h3>
|
||||||
|
- (void) <b>setDurationLogging:</b> (<a rel="gsdoc" href="/usr/home/brains99/GNUstep/System/Library/Documentation/Developer/Base/Reference/TypesAndConstants.html#type$NSTimeInterval">NSTimeInterval</a>)threshold;<br />
|
||||||
|
<p>
|
||||||
|
|
||||||
|
Set a <var>threshold</var> above which queries and
|
||||||
|
statements taking a long time to execute are
|
||||||
|
logged. A negative value (default) disables this
|
||||||
|
logging. A value of zero logs all statements.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<hr width="25%" align="left" />
|
<hr width="25%" align="left" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue