add bulk operations: create, update, delete; and find_or_create + count methods for single records#107
Conversation
0bf0df7 to
70888c3
Compare
|
Thanks for your work. I don't know if this gem is still watched/maintained. It looks like it's not. Anyway, if I manage to make it work on my project, I'll definitely integrate your work too! |
|
Both mentioned PR came with tests. The first one was left unaddressed for months. The second one was closed due to increased complexity. Also, I don't get this point:
Airtable API offers bulk operations. Why not support it in Airrecord? Regarding performances and when to use it, that sounds like an Airtable concern, not an Airrecord. Plus, how come one would have to justify how running multiple requests is worst than running a bigger one? What am I missing? |
|
I don't think you're missing anything -- some combination of those two PRs that includes tests and documentation would probably be pretty good! Neither PR on its own was ready to merge, nor is this one. |
In recent project I faced the issue of performance, and found in AriTable api bulk operation: here is my proposal implementation of them for
airrecordgem.Table#bulk_createTable#bulk_updateTable#bulk_deleteand additional helper for record finding
Table#find_or_createTable#countlink to API documentation