Skip to content

Commit fb24e97

Browse files
authored
JAVA-3021: Update docs to replace withPrimaryKey with withPartitionKey (#1599)
1 parent ffcf0d5 commit fb24e97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manual/query_builder/schema/table/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ CreateTable create = createTable("cycling", "cyclist_name").withPartitionKey("id
3131
A table with only one column is not so typical however. At this point you may provide partition,
3232
clustering, regular and static columns using any of the following API methods:
3333

34-
* `withPrimaryKey(name, dataType)`
34+
* `withPartitionKey(name, dataType)`
3535
* `withClusteringColumn(name, dataType)`
3636
* `withColumn(name, dataType)`
3737
* `withStaticColumn(name, dataType)`
3838

39-
Primary key precedence is driven by the order of `withPrimaryKey` and `withClusteringKey`
39+
Primary key precedence is driven by the order of `withPartitionKey` and `withClusteringKey`
4040
invocations, for example:
4141

4242

0 commit comments

Comments
 (0)