Skip to content

Commit

Permalink
list all column api properties (#6545)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Nov 26, 2024
2 parents f6b7f7c + 95a9d99 commit fb67f74
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions website/docs/reference/dbt-classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,14 @@ col.numeric_type('numeric', 12, 4) # numeric(12,4)

### Properties

- **name**: Returns the name of the column
- **char_size**: Returns the maximum size for character varying columns
- **column**: Returns the name of the column
- **data_type**: Returns the data type of the column (with size/precision/scale included)
- **dtype**: Returns the data type of the column (without any size/precision/scale included)
- **name**: Returns the name of the column (identical to `column`, provided as an alias).
- **numeric_precision**: Returns the maximum precision for fixed decimal columns
- **numeric_scale**: Returns the maximum scale for fixed decimal columns
- **quoted**: Returns the name of the column wrapped in quotes
- **data_type**: Returns the data type of the column

### Instance methods

Expand Down

0 comments on commit fb67f74

Please sign in to comment.