Was prototyping some automation using this gem and ran into a weird issue:
[29] pry(main)> ::SugarCRM::User.all(conditions: { user_name: "StrangeWill" }).count
=> 1128
Query also takes like a couple minutes. It's running on SugarCRM's cloud, really odd, it's like it's pulling a record for every related record to the user (call, lead, opportunity, etc).
Same result on the SugarCRM.connection.get_entry_list call.
Ideally I'd like to do a User.all(conditions: { user_name: "= 'a' OR 'b' OR 'c' }) type setup. may just end up doing multiple User.firsts and looking up each user individually.