ex_debug_toolbar icon indicating copy to clipboard operation
ex_debug_toolbar copied to clipboard

Ecto Collector for Mysql

Open papakay opened this issue 6 years ago • 2 comments

I got this error while compiling deps

== Compilation error in file lib/ex_debug_toolbar/collector/ecto_collector.ex ==
** (CompileError) lib/ex_debug_toolbar/collector/ecto_collector.ex:26: Postgrex.Cursor.__struct__/0 is undefined, cannot expand struct Postgrex.Cursor
    (stdlib) lists.erl:1354: :lists.mapfoldl/3
    (stdlib) lists.erl:1355: :lists.mapfoldl/3
    (stdlib) lists.erl:1354: :lists.mapfoldl/3
    lib/ex_debug_toolbar/collector/ecto_collector.ex:26: (module)

papakay avatar May 14 '18 12:05 papakay

I get the same here. This project seems to be tailored for Postgres.

jalcine avatar Oct 28 '18 01:10 jalcine

Could this happen within the method instead of it being a match on the function itself? https://github.com/kagux/ex_debug_toolbar/blob/master/lib/ex_debug_toolbar/collector/ecto_collector.ex#L26-L28

jalcine avatar Oct 28 '18 01:10 jalcine