Skip to content

Commit ca3b1f9

Browse files
committed
Bump version and lint
1 parent 5c1dcec commit ca3b1f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongo-query-to-postgres-jsonb",
3-
"version": "0.2.10",
3+
"version": "0.2.11",
44
"description": "Converts MongoDB queries to postgresql queries for jsonb fields.",
55
"main": "index.js",
66
"directories": {

test/select.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ describe('select: ', function() {
4949
describe('array fields', function () {
5050
it('nothing special when requesting array field itself', function () {
5151
assert.equal(convertSelect('data', { 'arr': 1 }, ['arr']),
52-
"jsonb_build_object('arr', data->'arr', '_id', data->'_id') as data")
52+
'jsonb_build_object(\'arr\', data->\'arr\', \'_id\', data->\'_id\') as data')
5353
})
5454

5555
it('single field', function () {

0 commit comments

Comments
 (0)