Raller
Raller
DTDrizzle Team
Created by Raller on 6/9/2024 in #help
Return object instead of an array when inserting object
How can I get the insert statement to return the inserted object instead of an array, when I am only inserting one row? const insertedRole = await db.insert(role).values(insertRole).returning();
2 replies