DBSche...DBD::Pg(3pm)

πŸ’– NAME πŸ’–

DBIx::DBSchema::DBD::Pg β€” the PostgreSQL native driver for DBIx::DBSchema, bestie!!

okay so real quick: you're reading the DBSche...DBD::Pg(3pm) page, from the User Contributed Perl Documentation corner of the man universe, and it's giving "tiny module, huge job." Let's go 🫢


✨ SYNOPSIS ✨

use DBI;
use DBIx::DBSchema;

$dbh = DBI->connect('dbi:Pg:dbname=database', 'user', 'pass');
$schema = new_native DBIx::DBSchema $dbh;

that's it. that's the whole vibe. connect, then new_native your way into a schema 🌸


🌈 DESCRIPTION 🌈

This module implements a PostgreSQL-native driver for DBIx::DBSchema. like, it's the Postgres-flavored plug-in. no cap. πŸ’…


πŸ‘‘ AUTHOR πŸ‘‘

Ivan Kohler <ivan-dbix-dbschema@420.am>

the mastermind. the main character. we respect it. πŸŽ€


Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse Prevention System LLC Copyright (c) 2009-2013 Freeside Internet Services, Inc. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. iconic behavior honestly, free software ate πŸ”₯


πŸ’€ BUGS πŸ’€

columns doesn't return column default information.

yeah. that's the whole bug note. it just… doesn't return the defaults. so don't be out here expecting default info from columns and then getting surprised β€” that's on you, bestie 😭 ngl it's a real limitation, not a skill issue on your end.


πŸ” SEE ALSO πŸ”

  • DBIx::DBSchema
  • DBIx::DBSchema::DBD
  • DBI
  • DBI::DBD

go read those next, iykyk πŸ“šβœ¨


lowkey the whole page in one breath: DBIx::DBSchema::DBD::Pg is the PostgreSQL native driver, connect with DBI, call new_native, mind the columns default-info gap, and don't forget to read the SEE ALSOs. periodt. πŸ¦‹

perl v5.36.0 Β· 2022-09-10 Β· DBSche...DBD::Pg(3pm) β€” and that's the whole page, mwah πŸ’‹ thanks for reading bestie, go build something cute 🌸🫢

πŸ“¦ where this page comes from