use Carp ();
use List::Util ();
use Scalar::Util ();
-use Data::Query::Constants qw(DQ_IDENTIFIER DQ_OPERATOR DQ_VALUE);
+use Data::Query::Constants qw(
+ DQ_IDENTIFIER DQ_OPERATOR DQ_VALUE DQ_LITERAL
+);
#======================================================================
# GLOBALS
elements => [ split /\Q$self->{name_sep}/, $from ],
})
},
- SCALARREF => sub {$$from},
+ SCALARREF => sub {
+ $self->_render_dq({
+ type => DQ_LITERAL,
+ subtype => 'SQL',
+ literal => $$from
+ })
+ },
});
}