mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 09:51:11 +00:00
Static Filter implemented
This commit is contained in:
@@ -106,14 +106,15 @@ export default class QueryBuilderViewModel {
|
||||
});
|
||||
}
|
||||
|
||||
public setExample() {
|
||||
public setExample(pk: string, rk: string) {
|
||||
var example1 = new QueryClauseViewModel(
|
||||
this,
|
||||
"",
|
||||
"PartitionKey",
|
||||
this.edmTypes()[0],
|
||||
Constants.Operator.Equal,
|
||||
this.tableEntityListViewModel.items()[0].PartitionKey._,
|
||||
// this.tableEntityListViewModel.items()[0].PartitionKey._,
|
||||
pk,
|
||||
false,
|
||||
"",
|
||||
"",
|
||||
@@ -127,7 +128,8 @@ export default class QueryBuilderViewModel {
|
||||
"RowKey",
|
||||
this.edmTypes()[0],
|
||||
Constants.Operator.Equal,
|
||||
this.tableEntityListViewModel.items()[0].RowKey._,
|
||||
// this.tableEntityListViewModel.items()[0].RowKey._,
|
||||
rk,
|
||||
true,
|
||||
"",
|
||||
"",
|
||||
|
||||
Reference in New Issue
Block a user