Skip to content

Commit

Permalink
add documentation of column creation defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
mathemancer committed Jun 13, 2024
1 parent 899fb92 commit e4ee2be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mathesar/rpc/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ def add(
"""
Add columns to a table.
There are defaults for both the name and type of a column, and so
passing `[{}]` for `column_data_list` would add a single column of
type `CHARACTER VARYING`, with an auto-generated name.
Args:
column_data_list: A list describing desired columns to add.
table_oid: Identity of the table to which we'll add columns.
Expand Down

0 comments on commit e4ee2be

Please sign in to comment.