@@ -283,7 +283,7 @@ def update_accounts(transaction):
283
283
database .run_in_transaction (update_accounts )
284
284
285
285
286
- # [END spanner_update_graph_data_with_graph_query_in_dml
286
+ # [END spanner_update_graph_data_with_graph_query_in_dml]
287
287
288
288
289
289
# [START spanner_query_graph_data]
@@ -307,7 +307,7 @@ def query_data(instance_id, database_id):
307
307
# [END spanner_query_graph_data]
308
308
309
309
310
- # [START spanner_with_graph_query_data_with_parameter ]
310
+ # [START spanner_query_graph_data_with_parameter ]
311
311
def query_data_with_parameter (instance_id , database_id ):
312
312
"""Queries sample data from the database using SQL with a parameter."""
313
313
@@ -331,7 +331,7 @@ def query_data_with_parameter(instance_id, database_id):
331
331
print ("sender: {}, receiver: {}, amount: {}, transfer_at: {}" .format (* row ))
332
332
333
333
334
- # [END spanner_with_graph_query_data_with_parameter ]
334
+ # [END spanner_query_graph_data_with_parameter ]
335
335
336
336
337
337
# [START spanner_delete_graph_data_with_dml]
@@ -364,7 +364,7 @@ def delete_accounts(transaction):
364
364
# [END spanner_delete_graph_data_with_dml]
365
365
366
366
367
- # [START spanner_delete_data ]
367
+ # [START spanner_delete_graph_data ]
368
368
def delete_data (instance_id , database_id ):
369
369
"""Deletes sample data from the given database.
370
370
@@ -397,7 +397,7 @@ def delete_data(instance_id, database_id):
397
397
print ("Deleted data." )
398
398
399
399
400
- # [END spanner_delete_data ]
400
+ # [END spanner_delete_graph_data ]
401
401
402
402
403
403
if __name__ == "__main__" : # noqa: C901
0 commit comments