-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi @maartenvanvliet,
When trying to order with a join on a naive datetime field I get:
deps/quarto/lib/quarto/ecto/query.ex:100: value `{:created_at, ~N[2012-06-07 13:03:15]}` in `where` cannot be cast to type :naive_datetime in query:
Query looks like this:
where: s1.created_at < ^{:created_at, ~N[2012-06-07 13:03:15]} and ^true and ^true,
order_by: [desc: s1.created_at],
I also notice that you can't paginate on a query that has multiple of the same direction.
I.e. a asc on both created_at and id for example.
Metadata
Metadata
Assignees
Labels
No labels