[Dbix-class] how to determine column is inflatable?

Carl Franks fireartist at gmail.com
Thu Jan 29 22:03:48 GMT 2009


Is it okay to use $result_source->column_info('name')->{_inflate_info}
to test whether a column is inflatable / deflatable?
It seems a bit too reliant on internals, to me.

Or should there be a has_inflatable_column('name') method?

(and is that what it should be called? do we really also need a
'has_deflatable_column' too?)

If someone makes a call, I'll write up a patch for it.

Carl



More information about the DBIx-Class mailing list