binVarchar
function binVarchar( name, length?, collation?): MySqlCustomColumnBuilder<{}>;Defined in: src/drizzle/mysql.ts:34
A varchar(length) CHARACTER SET utf8mb4 COLLATE <collation> column: case- and accent-sensitive.
length defaults to 512 (keep it within your InnoDB index-prefix limit for keys); collation
defaults to utf8mb4_bin. Pass a NO PAD collation (MysqlKeyCollation) for keys that may
differ only by trailing spaces.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
name |
string |
undefined |
length? |
number |
512 |
collation? |
MysqlKeyCollation |
"utf8mb4_bin" |
Returns
Section titled “Returns”MySqlCustomColumnBuilder<{
}>