Initial commit

This commit is contained in:
Ammaar Reshi
2025-01-04 14:06:53 +00:00
parent 7082408604
commit d6025af146
23760 changed files with 3299690 additions and 0 deletions

22
node_modules/drizzle-orm/mysql-core/expressions.js generated vendored Normal file
View File

@ -0,0 +1,22 @@
import { bindIfParam } from "../expressions.js";
import { sql } from "../sql/sql.js";
export * from "../expressions.js";
function concat(column, value) {
return sql`${column} || ${bindIfParam(value, column)}`;
}
function substring(column, { from, for: _for }) {
const chunks = [sql`substring(`, column];
if (from !== void 0) {
chunks.push(sql` from `, bindIfParam(from, column));
}
if (_for !== void 0) {
chunks.push(sql` for `, bindIfParam(_for, column));
}
chunks.push(sql`)`);
return sql.join(chunks);
}
export {
concat,
substring
};
//# sourceMappingURL=expressions.js.map