File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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)
201212client.create_columns(" new_Product" , {" new_Category" : " string" })
202213
214+ # Remove columns
215+ client.delete_columns(" new_Product" , [" new_Category" ])
216+
203217# Clean up
204218client.delete_table(" new_Product" )
205219```
You can’t perform that action at this time.
0 commit comments