Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sequelize/sequelize
/ toSql
Method
toSql
src/dialects/postgres/data-types.js:92–97 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
90
91
class
STRING extends BaseTypes.STRING {
92
toSql() {
93
if
(this._binary) {
94
return
'BYTEA'
;
95
}
96
return
super.toSql();
97
}
98
}
99
100
BaseTypes.STRING.types.postgres = [
'varchar'
];
Callers
nothing calls this directly
Calls
1
toSql
Method · 0.65
Tested by
no test coverage detected