Skip to content

Commit e55393a

Browse files
authored
chore: upgrade bigtable samples to v2 (#2012)
1 parent b68abc8 commit e55393a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bigtable/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"google/cloud-bigtable": "^1.30"
3+
"google/cloud-bigtable": "^2.0"
44
},
55
"autoload-dev": {
66
"psr-4": {

bigtable/src/hello_world.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
$columnFamilyId = 'cf1';
128128

129129
$row = $table->readRow($key, [
130-
'rowFilter' => $rowFilter
130+
'filter' => $rowFilter
131131
]);
132132
printf('%s' . PHP_EOL, $row[$columnFamilyId][$column][0]['value']);
133133
// [END bigtable_hw_get_with_filter]

0 commit comments

Comments
 (0)