我做了这样的查询:
query = from i in MyApp.Image, where: i.deleted_at >= ^Timex.beginning_of_day(date), where: i.deleted_at <= ^Timex.end_of_day(date), select: i.path, order_by: [asc: i.deleted_at]当我调用查询时:
MyApp.Repo.all(query)我得到了62个结果,但对于其余的记录,它会在前50个结果之后将它们截断为...:
50个结果中的最后一个。
"images/8a3ded267cbb45cc848032c826453c8.png", ...]有没有一种方法可以告诉elixir/ecto不截断结果?
发布于 2020-05-23 03:23:02
从iex执行以下命令或将其放入项目目录下的.iex.exs文件中:
IEx.configure(inspect: [limit: :infinity])有关Configuring the Shell的更多信息。
https://stackoverflow.com/questions/61961980
复制相似问题