How to get the type of transaction from a database? - Drizzle Team