Skip to content

Commit ff18c33

Browse files
author
Илья
committed
Add support Yson type
1 parent 8f9cbab commit ff18c33

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/QueryResult.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ protected function fillRows($rows)
192192
}
193193
switch ($column['type'])
194194
{
195+
case 'YSON':
195196
case 'STRING':
196197
$_row[$column['name']] = base64_decode($value);
197198
break;

src/Types/YsonType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class YsonType extends AbstractType
77
/**
88
* @inherit
99
*/
10-
protected $ydb_key_name = 'text_value';
10+
protected $ydb_key_name = 'bytes_value';
1111

1212
/**
1313
* @inherit

0 commit comments

Comments
 (0)