@@ -381,20 +381,20 @@ describe('Types', () => {
381381 DyNumber("1234567890.123") AS dynumber_value;` ;
382382
383383 const data = {
384- boolValue : true ,
385- uint8Value : 0 ,
386- int8Value : - 1 ,
387- uint16Value : 2 ,
388- int16Value : - 3 ,
389- uint32Value : 4 ,
390- int32Value : - 5 ,
391- uint64Value : 6 ,
392- uint64LongValue : Long . MAX_VALUE ,
393- int64Value : 7 ,
394- int64LongValue : Long . fromValue ( - 7 ) ,
395- floatValue : - 1.100000023841858 ,
396- doubleValue : - 1.1 ,
397- dynumberValue : '.1234567890123e10' ,
384+ bool_value : true ,
385+ uint8_value : 0 ,
386+ int8_value : - 1 ,
387+ uint16_value : 2 ,
388+ int16_value : - 3 ,
389+ uint32_value : 4 ,
390+ int32_value : - 5 ,
391+ uint64_value : 6 ,
392+ uint64_long_value : Long . MAX_VALUE ,
393+ int64_value : 7 ,
394+ int64_long_value : Long . fromValue ( - 7 ) ,
395+ float_value : - 1.100000023841858 ,
396+ double_value : - 1.1 ,
397+ dynumber_value : '.1234567890123e10' ,
398398 } ;
399399
400400 const response = await session . executeQuery ( query ) ;
@@ -416,11 +416,11 @@ describe('Types', () => {
416416 JsonDocument("[]") AS json_document_value;` ;
417417
418418 const data = {
419- stringValue : 'foo' ,
420- utf8Value : 'привет' ,
421- ysonValue : '<a=1>[3;%false]' ,
422- jsonValue : '{"a":1,"b":null}' ,
423- jsonDocumentValue : '[]' ,
419+ string_value : 'foo' ,
420+ utf8_value : 'привет' ,
421+ yson_value : '<a=1>[3;%false]' ,
422+ json_value : '{"a":1,"b":null}' ,
423+ json_document_value : '[]' ,
424424 } ;
425425
426426 const response = await session . executeQuery ( query ) ;
@@ -436,7 +436,7 @@ describe('Types', () => {
436436 const query = `SELECT Uuid("f9d5cc3f-f1dc-4d9c-b97e-766e57ca4ccb") AS uuid_value;` ;
437437
438438 const data = {
439- uuidValue : 'f9d5cc3f-f1dc-4d9c-b97e-766e57ca4ccb' ,
439+ uuid_value : 'f9d5cc3f-f1dc-4d9c-b97e-766e57ca4ccb' ,
440440 } ;
441441
442442 const response = await session . executeQuery ( query ) ;
@@ -460,13 +460,13 @@ describe('Types', () => {
460460 TzTimestamp("2022-01-01T10:00:00.987,GMT") AS tz_timestamp_value;` ;
461461
462462 const data = {
463- dateValue : new Date ( '2022-01-01:00:00:00Z' ) ,
464- datetimeValue : new Date ( '2022-01-01T10:00:00.000Z' ) ,
465- timestampValue : new Date ( '2022-01-01T10:00:00.987Z' ) ,
466- intervalValue : Long . fromValue ( '93784567890' ) ,
467- tzDateValue : new Date ( '2022-01-01T00:00:00Z' ) ,
468- tzDatetimeValue : new Date ( '2022-01-01T10:00:00.000Z' ) ,
469- tzTimestampValue : new Date ( '2022-01-01T10:00:00.987Z' ) ,
463+ date_value : new Date ( '2022-01-01:00:00:00Z' ) ,
464+ datetime_value : new Date ( '2022-01-01T10:00:00.000Z' ) ,
465+ timestamp_value : new Date ( '2022-01-01T10:00:00.987Z' ) ,
466+ interval_value : Long . fromValue ( '93784567890' ) ,
467+ tz_date_value : new Date ( '2022-01-01T00:00:00Z' ) ,
468+ tz_datetime_value : new Date ( '2022-01-01T10:00:00.000Z' ) ,
469+ tz_timestamp_value : new Date ( '2022-01-01T10:00:00.987Z' ) ,
470470 } ;
471471
472472 const response = await session . executeQuery ( query ) ;
@@ -515,8 +515,8 @@ describe('Types', () => {
515515 CAST(NULL AS Optional<Uint64>) AS optional_null_value;` ;
516516
517517 const data = {
518- optionalValue : 1 ,
519- optionalNullValue : null ,
518+ optional_value : 1 ,
519+ optional_null_value : null ,
520520 } ;
521521
522522 const response = await session . executeQuery ( query ) ;
@@ -538,10 +538,10 @@ describe('Types', () => {
538538 ;` ;
539539
540540 const data = {
541- listValue : [ 1 , 2 , 3 ] ,
542- tupleValue : [ 1 , 2 , '3' ] ,
543- structValue : { a : 1 , b : 2 , c : '3' } ,
544- dictValue : { a : 1 , b : 2 , c : 3 } ,
541+ list_value : [ 1 , 2 , 3 ] ,
542+ tuple_value : [ 1 , 2 , '3' ] ,
543+ struct_value : { a : 1 , b : 2 , c : '3' } ,
544+ dict_value : { a : 1 , b : 2 , c : 3 } ,
545545 } ;
546546
547547 const response = await session . executeQuery ( query ) ;
@@ -556,7 +556,7 @@ describe('Types', () => {
556556 await driver . tableClient . withSession ( async ( session ) => {
557557 const query = 'SELECT Void() as void_value;'
558558 const data = {
559- voidValue : null ,
559+ void_value : null ,
560560 } ;
561561
562562 const response = await session . executeQuery ( query ) ;
0 commit comments