Builds a column name based on the attribute and value provided. The column name is used in filtering data in a Supabase database.
buildColumnName(
attr: string,
value: string | number,
includeType: boolean = true
): string| Name | Type | Description |
|---|---|---|
attr* | string | The attribute to be used in the column name. |
value* | string | number | The value to be used in the column name. |
includeType | boolean | Default: trueWhether to include the data type in the column name. |