

[jsTest] ----
[jsTest] Inserting docs:
[jsTest] ----

{ "a" : "" }
{ "a" : "A somewhat large string" }
{ "a" : "A" }
{ "a" : "a" }
{ "a" : "😀" }
{ "a" : -1 }
{ "a" : -1.7976931348623157e+308 }
{ "a" : -1.7976931348623157e+308 }
{ "a" : -2 }
{ "a" : -5e-324 }
{ "a" : -Infinity }
{ "a" : /(?:)/ }
{ "a" : /A/ }
{ "a" : /a/ }
{ "a" : /a/i }
{ "a" : 0 }
{ "a" : 0 }
{ "a" : 1 }
{ "a" : 2 }
{ "a" : 5e-324 }
{ "a" : BinData(0,"") }
{ "a" : BinData(0,"asdf") }
{ "a" : ISODate("0000-01-01T00:00:00Z") }
{ "a" : ISODate("1969-12-31T23:59:59.999Z") }
{ "a" : ISODate("1970-01-01T00:00:00Z") }
{ "a" : ISODate("2022-07-14T18:34:28.937Z") }
{ "a" : ISODate("9999-12-31T23:59:59.999Z") }
{ "a" : Infinity }
{ "a" : NaN }
{ "a" : NumberDecimal("-0") }
{ "a" : NumberDecimal("-0.000") }
{ "a" : NumberDecimal("-1") }
{ "a" : NumberDecimal("-1.000") }
{ "a" : NumberDecimal("-1E-6176") }
{ "a" : NumberDecimal("-9.999999999999999999999999999999999E+6144") }
{ "a" : NumberDecimal("-Infinity") }
{ "a" : NumberDecimal("-Infinity") }
{ "a" : NumberDecimal("0") }
{ "a" : NumberDecimal("0.000") }
{ "a" : NumberDecimal("1") }
{ "a" : NumberDecimal("1E-6176") }
{ "a" : NumberDecimal("9.999999999999999999999999999999999E+6144") }
{ "a" : NumberDecimal("NaN") }
{ "a" : NumberInt(-1) }
{ "a" : NumberInt(-2) }
{ "a" : NumberInt(-2147483648) }
{ "a" : NumberInt(0) }
{ "a" : NumberInt(1) }
{ "a" : NumberInt(2) }
{ "a" : NumberInt(2147483647) }
{ "a" : NumberLong("-9223372036854775808") }
{ "a" : NumberLong("9223372036854775807") }
{ "a" : NumberLong(-1) }
{ "a" : NumberLong(-2) }
{ "a" : NumberLong(0) }
{ "a" : NumberLong(1) }
{ "a" : NumberLong(2) }
{ "a" : ObjectId("000000000000000000000000") }
{ "a" : ObjectId("62d05ec744ca83616c92772c") }
{ "a" : ObjectId("62d05fa144ca83616c92772e") }
{ "a" : ObjectId("ffffffffffffffffffffffff") }
{ "a" : UUID("167c25c0-4f45-488a-960a-3171ec07726b") }
{ "a" : UUID("326d92af-2d76-452b-a03f-69f05ab98416") }
{ "a" : [ ] }
{ "a" : false }
{ "a" : function inc(x) {
            return x + 1;
        } }
{ "a" : null }
{ "a" : true }
{ "a" : undefined }
{ "a" : { "$maxKey" : 1 } }
{ "a" : { "$minKey" : 1 } }
{ "a" : { } }
{ }


[jsTest] ----
[jsTest] Result of query:
[jsTest] ----

{ "newA" : "" }
{ "newA" : "A somewhat large string" }
{ "newA" : "A" }
{ "newA" : "a" }
{ "newA" : "😀" }
{ "newA" : -1 }
{ "newA" : -1 }
{ "newA" : -1.7976931348623157e+308 }
{ "newA" : -1.7976931348623157e+308 }
{ "newA" : -2 }
{ "newA" : -2 }
{ "newA" : -2147483648 }
{ "newA" : -5e-324 }
{ "newA" : -Infinity }
{ "newA" : /(?:)/ }
{ "newA" : /A/ }
{ "newA" : /a/ }
{ "newA" : /a/i }
{ "newA" : 1 }
{ "newA" : 1 }
{ "newA" : 2 }
{ "newA" : 2 }
{ "newA" : 2147483647 }
{ "newA" : 5e-324 }
{ "newA" : BinData(0,"") }
{ "newA" : BinData(0,"asdf") }
{ "newA" : ISODate("0000-01-01T00:00:00Z") }
{ "newA" : ISODate("1969-12-31T23:59:59.999Z") }
{ "newA" : ISODate("1970-01-01T00:00:00Z") }
{ "newA" : ISODate("2022-07-14T18:34:28.937Z") }
{ "newA" : ISODate("9999-12-31T23:59:59.999Z") }
{ "newA" : Infinity }
{ "newA" : NaN }
{ "newA" : NumberDecimal("-1") }
{ "newA" : NumberDecimal("-1.000") }
{ "newA" : NumberDecimal("-1E-6176") }
{ "newA" : NumberDecimal("-9.999999999999999999999999999999999E+6144") }
{ "newA" : NumberDecimal("-Infinity") }
{ "newA" : NumberDecimal("-Infinity") }
{ "newA" : NumberDecimal("1") }
{ "newA" : NumberDecimal("1E-6176") }
{ "newA" : NumberDecimal("9.999999999999999999999999999999999E+6144") }
{ "newA" : NumberDecimal("NaN") }
{ "newA" : NumberLong("-9223372036854775808") }
{ "newA" : NumberLong("9223372036854775807") }
{ "newA" : NumberLong(-1) }
{ "newA" : NumberLong(-2) }
{ "newA" : NumberLong(1) }
{ "newA" : NumberLong(2) }
{ "newA" : ObjectId("000000000000000000000000") }
{ "newA" : ObjectId("62d05ec744ca83616c92772c") }
{ "newA" : ObjectId("62d05fa144ca83616c92772e") }
{ "newA" : ObjectId("ffffffffffffffffffffffff") }
{ "newA" : UUID("167c25c0-4f45-488a-960a-3171ec07726b") }
{ "newA" : UUID("326d92af-2d76-452b-a03f-69f05ab98416") }
{ "newA" : [ ] }
{ "newA" : true }
{ "newA" : { "$maxKey" : 1 } }
{ "newA" : { "$minKey" : 1 } }
{ "newA" : { "code" : "function inc(x) {\n            return x + 1;\n        }" } }
{ "newA" : { } }
