Type safety with queries
Hi, I am using Primsa ORM, and I am having some problem with the type of the data returned from the query. For the types which can be a null value or string, it always returns as type string, but it can be null as well.
Here is my model:
Here
but the query :
this always returns
Here is my model:
Here
accountPublicKey can be null. but the query :
this always returns
accountPublicKey as string, even if its null.