MCPcopy
hub / github.com/sequelize/sequelize / test

Function test

test/unit/utils/sql.test.js:241–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239
240 it('does not consider the token to be a replacement if it is part of a string with an escaped backslash followed by a backslash escaped quote', () => {
241 const test = () =>
242 injectReplacements(
243 "SELECT * FROM users WHERE id = '\\\\\\' :id' OR id = :id",
244 dialect,
245 { id: 1 }
246 );
247
248 expectPerDialect(test, {
249 default:

Callers

nothing calls this directly

Calls 2

injectReplacementsFunction · 0.85

Tested by

no test coverage detected