Skip to content

Commit

Permalink
Update samples/snippets/src/main/java/com/example/spanner/v2/CreateDa…
Browse files Browse the repository at this point in the history
…tabaseWithDefaultLeaderSample.java

Co-authored-by: Knut Olav Løite <koloite@gmail.com>
  • Loading branch information
arpan14 and olavloite committed Jan 13, 2024
1 parent 56dcdb2 commit c7f998b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static void createDatabaseWithDefaultLeader(String instanceName, String database
databaseAdminClient.createDatabaseAsync(
CreateDatabaseRequest.newBuilder()
.setParent(instanceName)
.setCreateStatement("CREATE DATABASE " + "`" + databaseId + "`")
.setCreateStatement("CREATE DATABASE `" + databaseId + "`")
.addAllExtraStatements(
ImmutableList.of("CREATE TABLE Singers ("
+ " SingerId INT64 NOT NULL,"
Expand Down

0 comments on commit c7f998b

Please sign in to comment.