activerecord-crate-adapter
activerecord-crate-adapter copied to clipboard
Improve robustness of `CrateAdapter::columns` method
https://github.com/crate/activerecord-crate-adapter/blob/e875d7ac583773f5857aaa425fe5f1c4aa17cb1c/lib/active_record/connection_adapters/crate_adapter.rb#L132-L138
This feels a bit fishy, see also CrateRuby::Client::table_structure, where select * from information_schema.columns
is used, which, when used in combination, is prone to break sooner than later.
Originally posted by @amotl in https://github.com/crate/activerecord-crate-adapter/pull/16#discussion_r1034807861