The mozIStorageBindingParams
interface is used to bind values to parameters prior to calling mozIStorageStatement.executeAsync()
.
Inherits from: nsISupports
You can only create mozIStorageBindingParams
objects by calling the mozIStorageBindingParamsArray.newBindingParams()
.
void bindByIndex(in unsigned long aIndex, in |
void bindBlobByIndex(in unsigned long aIndex, [array, const, size_is(aValueSize)] in octet aValue, in unsigned long aValueSize); |
void bindDoubleByIndex(in unsigned long aIndex, in double aValue); Native code only! |
void bindInt32ByIndex(in unsigned long aIndex, in long aValue); Native code only! |
void bindInt64ByIndex(in unsigned long aIndex, in long long aValue); Native code only! |
void bindNullByIndex(in unsigned long aIndex); Native code only! |
void bindStringByIndex(in unsigned long aIndex, in AString aValue); Native code only! |
void bindUTF8StringByIndex(in unsigned long aIndex, in AUTF8String aValue); Native code only! |
void bindByName(in AUTF8String aName, in |
void bindBlobByName(in AUTF8String aName, [array, const, size_is(aValueSize)] in octet aValue, in unsigned long aValueSize); |
void bindDoubleByName(in AUTF8String aName, in double aValue); Native code only! |
void bindInt32ByName(in AUTF8String aName, in long aValue); Native code only! |
void bindInt64ByName(in AUTF8String aName, in long long aValue); Native code only! |
void bindNullByName(in AUTF8String aName); Native code only! |
void bindStringByName(in AUTF8String aName, in AString aValue); Native code only! |
void bindUTF8StringByName(in AUTF8String aName, in AUTF8String aValue); Native code only! |
Binds a to the specified index.
void bindByIndex( in unsigned long aIndex, in nsIVariant aValue );
aIndex
aValue
to be bound to the specified index.
Binds a blob to the specified index.
void bindBlobByIndex( in unsigned long aIndex, [array, const, size_is(aValueSize)] in octet aValue, in unsigned long aValueSize );
aIndex
aValue
aValueSize
aValue
.Binds a double to the specified index.
void bindDoubleByIndex( in unsigned long aIndex, in double aValue );
aIndex
aValue
Binds an Int32 to the specified index.
void bindInt32ByIndex( in unsigned long aIndex, in long aValue );
aIndex
aValue
Binds an Int64 to the specified index.
void bindInt32ByIndex( in unsigned long aIndex, in long long aValue );
aIndex
aValue
Binds Null to the specified index.
void bindNullByIndex( in unsigned long aIndex );
aIndex
Binds a stringr to the specified index.
void bindStringByIndex( in unsigned long aIndex, in AString aValue );
aIndex
aValue
Binds a UTF8String to the specified index.
void bindStringByIndex( in unsigned long aIndex, in AUTF8String aValue );
aIndex
aValue
Binds a value to a parameter with the specified name.
void bindByName( in AUTF8String aName, in nsIVariant aValue );
aName
The name of the named index for the parameter to be bound.
aValue
Binds a blob to the specified index.
void bindBlobByName( in AUTF8String aName, [array, const, size_is(aValueSize)] in octet aValue, in unsigned long aValueSize );
aName
aValue
aValueSize
aValue
.Binds a double to the specified index.
void bindDoubleByName( in AUTF8String aName, in double aValue );
aName
aValue
Binds an Int32 to the specified index.
void bindInt32ByName( in AUTF8String aName, in long aValue );
aName
aValue
Binds an Int64 to the specified index.
void bindInt32ByName( in AUTF8String aName, in long long aValue );
aName
aValue
Binds Null to the specified index.
void bindNullByName( in AUTF8String aName );
aName
Binds a string to the specified index.
void bindStringByName( in AUTF8String aName, in AString aValue );
aName
aValue
Binds a UTF8String to the specified index.
void bindStringByName( in AUTF8String aName, in AUTF8String aValue );
aName
aValue