hi,
I have created a index with only one property string.
I want to delete all of records which has a specify value.
So what should I do ?
example:
Table: MyTable
Key: mykey1
name: String = "My Name 1"
type : String = "type_x"
value: int = 10;
Key: mykey2
name: String = "My Name 2"
type : String = "type_x"
value: int = 10;
Key: mykey3
name: String = "My Name 3"
type : String = "type_y"
value: int = 10;
And I have created a index associated with type property.
Now, I want to delete all of key which has type = "type_x"
So I use this code:
client.bigDB.deleteRange("MyTable","ByType",null,"type_x","type_x",FnCbSuccess,FnCbFail);
FnCbSuccess callback function has been called, but when I check in browser it still exist.
btw, why don't the framework pass the number of delected record to FnCbSuccess ?