Skip to content

Commit d92ecf3

Browse files
committed
Update README
1 parent 3d159a0 commit d92ecf3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,23 @@ table_info = client.create_table("new_Product", {
197197
"new_Active": "bool"
198198
})
199199

200+
# Create with custom primary column name and solution assignment
201+
table_info = client.create_table(
202+
tablename="new_Product",
203+
schema={
204+
"new_Code": "string",
205+
"new_Price": "decimal"
206+
},
207+
solution_unique_name="MyPublisher", # Optional: add to specific solution
208+
primary_column_name="new_ProductName" # Optional: custom primary column (default is "{prefix}_Name")
209+
)
210+
200211
# Add columns to existing table (columns must include publisher prefix)
201212
client.create_columns("new_Product", {"new_Category": "string"})
202213

214+
# Remove columns
215+
client.delete_columns("new_Product", ["new_Category"])
216+
203217
# Clean up
204218
client.delete_table("new_Product")
205219
```

0 commit comments

Comments
 (0)