Skip to content

Commit 90748d8

Browse files
committed
bump
1 parent c954dc6 commit 90748d8

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

OpenFlow/src/DatabaseConnection.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,8 @@ export class DatabaseConnection {
290290
if (orderby) {
291291
if (typeof orderby === "string" || orderby instanceof String) {
292292
var neworderby = null;
293-
console.log(orderby);
294293
try {
295294
neworderby = JSON.parse((orderby as string));
296-
console.log(neworderby);
297295
mysort = neworderby;
298296
} catch (error) {
299297
}
@@ -302,6 +300,11 @@ export class DatabaseConnection {
302300
mysort = orderby;
303301
}
304302
}
303+
if (projection) {
304+
if (typeof projection === "string" || projection instanceof String) {
305+
projection = JSON.parse((projection as string));
306+
}
307+
}
305308
// for (let key in query) {
306309
if (query !== null && query !== undefined) {
307310
var json: any = query;

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.539
1+
0.0.540

0 commit comments

Comments
 (0)