Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sequelize/sequelize
/ toSql
Method
toSql
src/dialects/postgres/data-types.js:123–128 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
121
122
class
CHAR extends BaseTypes.CHAR {
123
toSql() {
124
if
(this._binary) {
125
return
'BYTEA'
;
126
}
127
return
super.toSql();
128
}
129
}
130
131
BaseTypes.CHAR.types.postgres = [
'char'
,
'bpchar'
];
Callers
nothing calls this directly
Calls
1
toSql
Method · 0.65
Tested by
no test coverage detected