Noah D
02/26/2022, 3:14 AMRDS construct and kysely. Does anyone know how to select a record with a string like userId in js when the column is a uuid type in postgres, currently getting the following error
ERROR: operator does not exist: uuid == character varyingthdxr
02/26/2022, 3:14 AMNoah D
02/26/2022, 3:14 AMthdxr
02/26/2022, 3:14 AMNoah D
02/26/2022, 3:14 AMthdxr
02/26/2022, 3:14 AMDb.raw for inserting raw sql into a querythdxr
02/26/2022, 3:15 AMthdxr
02/26/2022, 3:15 AM.where("times_verified", "is", Database.raw("null"))Noah D
02/26/2022, 3:16 AMNoah D
02/26/2022, 7:02 AMconst item = await database.selectFrom('items')
.selectAll()
.where(sql`items.item_id::text`, '=', '0ca08fa2-46db-45d6-bb25-d35b8bbbc890')
.execute();Noah D
02/26/2022, 7:03 AM