ex_airtable icon indicating copy to clipboard operation
ex_airtable copied to clipboard

ExAirtable.create/2 cleaning out cache

Open stevelead opened this issue 4 years ago • 0 comments

Thanks for sharing this project and the great docs, articles etc.

I'm currently running into an issue. Each time I create a record or records with ExAirtable.create/2 the table's cache is cleaned out.

It looks like this might be due to ":set_all" in:

job = Request.create( {table_module, :create, [smaller_list]}, {TableCache, :set_all, [table_module]}

Changing :set_all to :update seems to solve the problem.

stevelead avatar Apr 05 '21 22:04 stevelead