-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Description
Hi, thanks for open sourcing this package, it has been really useful!
I am having problem when using ">=" in a select statement:
Article.ByGeoHash
|> select(:all)
|> where(geohash: [">=": cursor])
|> limit(10)
|> Article.ByGeoHash.all()It gives me this error:
** (exit) an exception was raised:
** (ArgumentError) cannot convert the given list to a string.
To be converted to a string, a list must contain only:
* strings
* integers representing Unicode codepoints
* or a list containing one of these three elements
Please check the given list or call inspect/1 to get the list representation, got:
[>=: "6vjynkwp9wv"]
(elixir) lib/list.ex:821: List.to_string/1
(triton) lib/triton/validate.ex:41: Triton.Validate.coerce_fragment/2
(elixir) lib/enum.ex:1294: Enum."-map/2-lists^map/1-0-"/2
(elixir) lib/enum.ex:1294: Enum."-map/2-lists^map/1-0-"/2
(triton) lib/triton/validate.ex:37: Triton.Validate.coerce/2
(elixir) lib/enum.ex:1294: Enum."-map/2-lists^map/1-0-"/2
(elixir) lib/enum.ex:1294: Enum."-map/2-lists^map/1-0-"/2
(triton) lib/triton/validate.ex:5: Triton.Validate.coerce/1
...
I'm using Elixir v 1.6.4 on Windows 10.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels