5 use lib "$FindBin::Bin/../../lib";
6 use Test::SQL::Abstract::Util qw/
14 use SQL::Abstract::Compat;
16 use Test::More tests => 2;
17 use Test::Differences;
19 ok(my $visitor = SQL::Abstract::Compat->new);
22 my $foo_id = { -type => 'identifier', elements => [qw/foo/] };
23 my $bar_id = { -type => 'identifier', elements => [qw/bar/] };
25 my $foo_eq_1 = field_op_value($foo_id, '==', 1);
26 my $bar_eq_str = field_op_value($bar_id, '==', 'some str');
28 local $TODO = 'Work out what this should be';
30 $visitor->update_ast('test', { foo => 1 }),
32 tablespec => mk_name('test'),