@@ -7,10 +7,10 @@ import { DocumentConventions } from "../Conventions/DocumentConventions";
77import { IDocumentStore } from "../IDocumentStore" ;
88import { RavenCommand } from "../../Http/RavenCommand" ;
99import { ServerNode } from "../../Http/ServerNode" ;
10- import * as StringBuilder from "string-builder" ;
1110import { TypeUtil } from "../../Utility/TypeUtil" ;
1211import { QueryOperationOptions } from "../Queries/QueryOperationOptions" ;
1312import * as stream from "readable-stream" ;
13+ import { StringBuilder } from "../../Utility/StringBuilder" ;
1414
1515export class DeleteByQueryOperation implements IOperation < OperationIdResult > {
1616
@@ -67,7 +67,7 @@ export class DeleteByIndexCommand extends RavenCommand<OperationIdResult> {
6767
6868 if ( ! TypeUtil . isNullOrUndefined ( this . _options . maxOpsPerSecond ) ) {
6969 path . append ( "&maxOpsPerSec=" )
70- . append ( this . _options . maxOpsPerSecond . toString ( ) ) ;
70+ . append ( this . _options . maxOpsPerSecond ) ;
7171 }
7272
7373 path
@@ -76,7 +76,7 @@ export class DeleteByIndexCommand extends RavenCommand<OperationIdResult> {
7676
7777 if ( this . _options . staleTimeout ) {
7878 path . append ( "&staleTimeout=" )
79- . append ( this . _options . staleTimeout . toString ( ) ) ;
79+ . append ( this . _options . staleTimeout ) ;
8080 }
8181
8282 const body = writeIndexQuery ( this . _conventions , this . _queryToDelete ) ;
0 commit comments