Zeraph
DTDrizzle Team
•Created by Zeraph on 3/7/2024 in #help
Create index in DESC order
Consider this schema:
The index of the query is expected to serve this query only, so I wanna have it in DESC order.
I.e. the goal:
The issue is
desc()
doesn't seem to do any when declaring the index. How am I supposed to specify DESC in this case?4 replies
DTDrizzle Team
•Created by Zeraph on 3/7/2024 in #help
Why fields with default value is nullable
Consider this schema:
When I do a query:
The resultant type is:
Why is
view
nullable in this case? It should always be an integer due to the default value of 0, isn't it? Or am I missing something?3 replies