sql
sql copied to clipboard
Resolve full paths of referenced types to avoid clashes
internal_params << T.db_values(type: value.as(Model::Handled::ObjectType))[0]
undefined constant Model::Handled::ObjectType
That's because Handled is looked up within Onyx::SQL::Model. Should be prepended with ::.