i am trying to select my id from type uuid
when i select all id from administrator table, it returns me status 200 and returns all id
but when i try to select a single id, it returns me status 400 badrequest
what am i doing wrong?
1 Reply
There's nothing wrong with the query itself. I think you have a bug in your logic somewhere else.
If your data type is
UUID
then you might need to do something like this
I'd suggest avoiding the uuid
datatype unless you really really really need to save disk space.
Kysely doesn't return/use any kind of HTTP or other status codes. Those come from the framework you're using.