drizzle-kit 0.24.2-1a5913a → 0.24.2
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +2 -8
- package/package.json +1 -1
package/bin.cjs
CHANGED
@@ -72027,13 +72027,7 @@ var init_connections = __esm({
|
|
72027
72027
|
const result2 = await connection.query({
|
72028
72028
|
sql: params.sql,
|
72029
72029
|
values: params.params,
|
72030
|
-
rowsAsArray: params.mode === "array"
|
72031
|
-
typeCast: function(field, next) {
|
72032
|
-
if (field.type === "TIMESTAMP" || field.type === "DATETIME" || field.type === "DATE") {
|
72033
|
-
return field.string();
|
72034
|
-
}
|
72035
|
-
return next();
|
72036
|
-
}
|
72030
|
+
rowsAsArray: params.mode === "array"
|
72037
72031
|
});
|
72038
72032
|
return result2[0];
|
72039
72033
|
};
|
@@ -84034,7 +84028,7 @@ init_utils2();
|
|
84034
84028
|
var version2 = async () => {
|
84035
84029
|
const { npmVersion } = await ormCoreVersions();
|
84036
84030
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
84037
|
-
const envVersion = "0.24.2
|
84031
|
+
const envVersion = "0.24.2";
|
84038
84032
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
84039
84033
|
const versions = `drizzle-kit: ${kitVersion}
|
84040
84034
|
${ormVersion}`;
|