mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 518440 - Deprecate mozIStorageStatementWrapper & mozIStorageStatement.step() in IDL. r=sdwilsh
--HG-- extra : rebase_source : 0ede87a6eb9a34475d9efafa433809e571a104d3
This commit is contained in:
parent
6a9b163450
commit
85430c442e
@ -150,7 +150,7 @@ interface mozIStorageStatement : mozIStorageValueArray {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute the query, ignoring any results. This is accomplished by
|
* Execute the query, ignoring any results. This is accomplished by
|
||||||
* calling step() once, and then calling reset().
|
* calling executeStep() once, and then calling reset().
|
||||||
*
|
*
|
||||||
* Error and last insert info, etc. are available from
|
* Error and last insert info, etc. are available from
|
||||||
* the mozStorageConnection.
|
* the mozStorageConnection.
|
||||||
@ -174,9 +174,11 @@ interface mozIStorageStatement : mozIStorageValueArray {
|
|||||||
* when no more data is returned. This method is only available to JavaScript
|
* when no more data is returned. This method is only available to JavaScript
|
||||||
* consumers.
|
* consumers.
|
||||||
*
|
*
|
||||||
|
* @deprecated As of Mozilla 1.9.2 in favor of executeStep().
|
||||||
|
*
|
||||||
* @returns a boolean indicating whether there are more rows or not.
|
* @returns a boolean indicating whether there are more rows or not.
|
||||||
*
|
*
|
||||||
* boolean step();
|
* [deprecated] boolean step();
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -49,7 +49,11 @@ interface mozIStorageStatementParams : nsISupports {
|
|||||||
// magic interface for parameter setting that implements nsIXPCScriptable.
|
// magic interface for parameter setting that implements nsIXPCScriptable.
|
||||||
};
|
};
|
||||||
|
|
||||||
[scriptable, uuid(eee6f7c9-5586-4eaf-b35c-dca987c4ffd1)]
|
/**
|
||||||
|
* @deprecated As of Mozilla 1.9.2. Methods are already provided on
|
||||||
|
* mozIStorageStatement.
|
||||||
|
*/
|
||||||
|
[scriptable, deprecated, uuid(eee6f7c9-5586-4eaf-b35c-dca987c4ffd1)]
|
||||||
interface mozIStorageStatementWrapper : nsISupports {
|
interface mozIStorageStatementWrapper : nsISupports {
|
||||||
/**
|
/**
|
||||||
* Initialize this wrapper with aStatement.
|
* Initialize this wrapper with aStatement.
|
||||||
@ -65,7 +69,7 @@ interface mozIStorageStatementWrapper : nsISupports {
|
|||||||
* Step, reset, and execute the wrapped statement.
|
* Step, reset, and execute the wrapped statement.
|
||||||
*/
|
*/
|
||||||
void reset();
|
void reset();
|
||||||
boolean step();
|
[deprecated] boolean step();
|
||||||
void execute();
|
void execute();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user