DBD-PgAsync
view release on metacpan or search on metacpan
test_str = "execute";
} else if (word[0] < 'i') {
test_str = "handler";
} else {
test_str = "inherit";
}
} else if (word[0] < 'e') {
if (word[1] < 'i') {
if (word[1] < 'e') {
if (word[2] < 't') {
test_str = "cascade";
} else {
test_str = "catalog";
}
} else if (word[0] < 'd') {
test_str = "between";
} else {
test_str = "depends";
}
} else if (word[0] < 'd') {
if (word[0] < 'c') {
case 8:
if (word[0] < 'n') {
if (word[1] < 'n') {
if (word[0] < 'f') {
if (word[0] < 'd') {
if (word[0] < 'b') {
test_str = "absolute";
} else if (word[0] < 'c') {
test_str = "backward";
} else {
test_str = "cascaded";
}
} else if (word[2] < 's') {
if (word[3] < 'e') {
test_str = "defaults";
} else {
test_str = "deferred";
}
} else if (word[1] < 'i') {
test_str = "database";
} else {
t/01keywords.t view on Meta::CPAN
'bigint',
'binary',
'bit',
'boolean',
'both',
'breadth',
'by',
'cache',
'call',
'called',
'cascade',
'cascaded',
'case',
'cast',
'catalog',
'chain',
'char',
'character',
'characteristics',
'check',
'checkpoint',
'class',
t/03dbmethod.t view on Meta::CPAN
my $fk2 = [
$dbh->{pg_db},
$schema2,
$table1,
'b',
$dbh->{pg_db},
$schema2,
$table2,
'f3',
'1',
'0', ## cascade
'2', ## set null
'dbd_pg_test2_fk2',
'dbd_pg_test1_uc1',
'7',
'UNIQUE',
'int4',
'int4'
];
$expected = [$fk1,$fk2];
is_deeply ($result, $expected, $t);
( run in 0.430 second using v1.01-cache-2.11-cpan-2b1a40005be )