Test::...er::Pg(3pm)

πŸ“¦
version 1.113 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Test::Database::Driver::Pg(3pm) πŸ’–

okay so this is a page from the User Contributed Perl Documentation, bestie. Sit down, grab a boba, we're gonna talk about the Pg driver for Test::Database. It's giving "small module, big slay." πŸ¦‹


✨ NAME ✨

Test::Database::Driver::Pg β€” it's literally A Test::Database driver for Pg. That's the whole vibe. Short, sweet, iconic. πŸ’…


🌸 SYNOPSIS 🌸

Here's how you summon it, no cap:

use Test::Database;
my @handles = Test::Database->handles( 'Pg' );

Look at that. Two lines. Effortless. @handles comes back all full of Pg-flavoured handles and you just… use them. Main character energy fr fr. ✨


πŸŽ€ DESCRIPTION πŸŽ€

So like, this module is the Test::Database driver for DBD::Pg. That's it. That's the job. It's the little connector fairy 🧚 between Test::Database and DBD::Pg so your tests can get a real live Postgres database to play in without you hand-rolling a whole setup. Lowkey essential, highkey underrated. πŸ’œ


πŸ“ EXTRA PARAMETERS πŸ“

The way this driver is not like the others?? It reads these extra parameters straight out of the configuration file. Yes bestie, config file. Obsessed.

  • template β€” the template to use when creating a new database. 🌈

That's the one. That's the whole list. She's low maintenance. πŸ‘‘


🫢 SEE ALSO 🫢

  • Test::Database::Driver β€” the parent vibe, go check it out iykyk

πŸ‘‘ AUTHOR πŸ‘‘

Philippe Bruhat (BooK), "<book@cpan.org>"


Copyright 2008-2010 Philippe Bruhat (BooK), all rights reserved.


πŸ“œ LICENSE πŸ“œ

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

ngl that's the good license. go wild, remix it, just keep the same terms as Perl itself, periodt.

and that's the whole page, bestie!! ✨ this is perl v5.32.1, dated 2021-11-12, and the manual itself is Test::...er::Pg(3pm) β€” mwah, love that for us. byeee πŸŽ€πŸ’–πŸŒΈ

πŸ“¦ where this page comes from