db.insert(someTable).values(someValues).returning() what would be the preferred way to narrow the type of the return value from object | undefined if the insert is successful?! to the objects when doing returnedObject!.id?.values({...}).returning() call that will narrow the type so that undefined isn't an option. I didn't see anything in the docs that would do this. I tried adding onConflictDoNothing and onConflictDoUpdate to see if they'd narrow the type but they don't. PgInsertBuilder (or any of the other builders) so that you could do something likeconst [row] = await db.insert(table).values({}).returning().assertSuccess() and then the type of row couldn't be undefined? if (!row) throw new Error("failed to insert row")