```const sql = Prisma.sql`INSERT INTO "vendor" (id...
# orm-help
t
Copy code
const sql = Prisma.sql`INSERT INTO "vendor" (id, name, description, "userId", alias, emails, phones, address, links, location) VALUES (${id}, ${
    data.name
  }, ${data.description}, ${
    userId ?? "A0605996-E265-47DF-B152-179C298BB2BC"
  }, ${slugify(`${data.name}_${id.slice(0, 4)}`, "_")}, ${data.emails}, ${
    data.phones
  }, ${data.address}, ${data.links}, ${null});`;
1
n
Hello @Tomáš 👋 Can you please elaborate on this code snippet? Is it in a response to any existing slack thread?
t
Hi, oops, looks like I accidentally removed the rest of my message on edit, I've solved this issue already so all good though 😄 Thanks anyway
n
Ah Okay, Glad to hear that 😃