7 use DBIC::SqlMakerTest;
11 my $schema = DBICTest->init_schema();
13 my $sql_maker = $schema->storage->sql_maker;
17 $sql_maker->quote_char($q);
20 \[ $sql_maker->select ('artist', '*', { 'artist.name' => { -ident => 'artist.pseudonym' } } ) ],
23 WHERE ${q}artist${q}.${q}name${q} = ${q}artist${q}.${q}pseudonym${q}
29 \[ $sql_maker->update ('artist',
30 { 'artist.name' => { -ident => 'artist.pseudonym' } },
31 { 'artist.name' => { '!=' => { -ident => 'artist.pseudonym' } } },
33 "UPDATE ${q}artist${q}
34 SET ${q}artist${q}.${q}name${q} = ${q}artist${q}.${q}pseudonym${q}
35 WHERE ${q}artist${q}.${q}name${q} != ${q}artist${q}.${q}pseudonym${q}