fix
This commit is contained in:
parent
cfa5cbf677
commit
1cca29d504
|
|
@ -97,7 +97,6 @@ export const execQuery = async (args: DBArg, prisma: any) => {
|
||||||
}
|
}
|
||||||
>;
|
>;
|
||||||
|
|
||||||
if (mode !== "raw") {
|
|
||||||
for (const row of data) {
|
for (const row of data) {
|
||||||
for (const [k, v] of Object.entries(row) as any) {
|
for (const [k, v] of Object.entries(row) as any) {
|
||||||
const rel = rels[k];
|
const rel = rels[k];
|
||||||
|
|
@ -167,7 +166,6 @@ export const execQuery = async (args: DBArg, prisma: any) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
const select = {} as any;
|
const select = {} as any;
|
||||||
for (const pk of pks) {
|
for (const pk of pks) {
|
||||||
|
|
@ -204,7 +202,6 @@ export const execQuery = async (args: DBArg, prisma: any) => {
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (mode !== "raw") {
|
|
||||||
for (const [k, v] of Object.entries(row) as any) {
|
for (const [k, v] of Object.entries(row) as any) {
|
||||||
const rel = rels[k];
|
const rel = rels[k];
|
||||||
if (rel) {
|
if (rel) {
|
||||||
|
|
@ -255,7 +252,6 @@ export const execQuery = async (args: DBArg, prisma: any) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (mode !== "raw") {
|
if (mode !== "raw") {
|
||||||
if (found) {
|
if (found) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue