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 <[email protected]>
  • Loading branch information
arpan14 and olavloite committed Jan 3, 2024
1 parent 0bf6f87 commit 396419d
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 396419d

Please sign in to comment.