},
SCALAR => sub {$self->_quote($arg)},
+ UNDEF => sub {},
SCALARREF => sub {$$arg}, # literal SQL, no quoting
HASHREF => sub {$self->_order_by_hash($arg)},
expects => ' ORDER BY colA, colB DESC',
expects_quoted => ' ORDER BY `colA`, `colB` DESC',
},
+ {
+ given => undef,
+ expects => '',
+ expects_quoted => '',
+ },
);
my $sql = SQL::Abstract->new;