-
- Distribution: DBIx-Class
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Clone repository
- Issues (106)
- Testers (2445 / 151 / 2)
- Kwalitee
- 70.49% Coverage
- License: perl_5
- Activity
- 24 month
- Tools
- Download (841.18Kb) 0
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- mst: Matt S Trout (project founder - original idea, architecture and implementation)
-
castaway: Jess Robinson (lions share of the reference documentation and manuals)
-
abraxxa: Alexander Hartmaier
-
acca: Alexander Kuznetsov
- aherzog: Adam Herzog
- Alexander Keusch
-
alexrj: Alessandro Ranellucci
- alnewkirk: Al Newkirk
- Altreus: Alastair McGowan-Douglas
- amiri: Amiri Barksdale
-
amoore: Andrew Moore
- Andrew Mehta
-
andrewalker: Andre Walker
- andyg: Andy Grundman
-
ank: Andres Kievsky
-
arc: Aaron Crane
-
arcanez: Justin Hunter
-
ash: Ash Berlin
-
bert: Norbert Csongrádi
- bfwg: Colin Newell
-
blblack: Brandon L. Black
-
bluefeet: Aran Deltac
- boghead: Bryan Beeley
-
bphillips: Brian Phillips
- brd: Brad Davis
- Brian Kirkbride
-
bricas: Brian Cassidy
- brunov: Bruno Vecchi
-
caelum: Rafael Kitover
- caldrin: Maik Hentsche
-
chorny: Alexandr Ciornii
-
cj: C.J. Adams-Collier
-
claco: Christopher H. Laco
-
clkao: CL Kao
- Ctrl-O http://ctrlo.com/
-
da5id: David Jack Olrik
-
dams: Damien Krotkine
- dandv: Dan Dascalescu
- dariusj: Darius Jokilehto
- davewood: David Schmidt
-
daxim: Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯
- dduncan: Darren Duncan
-
debolaz: Anders Nor Berle
- dew: Dan Thomas
-
dim0xff: Dmitry Latin
-
dkubb: Dan Kubb
- dnm: Justin Wheeler
- dpetrov: Dimitar Petrov
- Dr^ZigMan: Robert Stone
- dsteinbrunner: David Steinbrunner
- duncan_dmg: Duncan Garland
-
dwc: Daniel Westermann-Clark
- dyfrgi: Michael Leuchtenburg
- edenc: Eden Cardim
- Eligo http://eligo.co.uk/
-
ether: Karen Etheridge
-
evdb: Edmund von der Burg
- faxm0dem: Fabien Wernli
- felliott: Fitz Elliott
- fgabolde: Fabrice Gabolde
- freetime: Bill Moseley
-
frew: Arthur Axel "fREW" Schmidt
-
gbjk: Gareth Kirwan
- geotheve: Georgina Thevenet
-
Getty: Torsten Raudssus
-
goraxe: Gordon Irving
-
gphat: Cory G Watson
- Grant Street Group http://www.grantstreet.com/
-
gregoa: Gregor Herrmann
-
groditi: Guillermo Roditi
-
gshank: Gerda Shank
- guacamole: Fred Steinberg
-
Haarg: Graham Knop
- hobbs: Andrew Rodland
- Ian Wells
- idn: Ian Norton
-
ilmari: Dagfinn Ilmari Mannsåker
- ingy: Ingy döt Net
- initself: Mike Baas
-
ironcamel: Naveed Massjouni
-
jasonmay: Jason May
-
jawnsy: Jonathan Yu
- jegade: Jens Gassmann
-
jeneric: Eric A. Miller
- jesper: Jesper Krogh
-
Jesse Sheidlower
-
jgoulah: John Goulah
-
jguenther: Justin Guenther
- jhannah: Jay Hannah
- jmac: Jason McIntosh
-
jmmills: Jason M. Mills
- jnapiorkowski: John Napiorkowski
- Joe Carlson
-
jon: Jon Schutz
- Jordan Metzmeier
- jshirley: J. Shirley
- kaare: Kaare Rasmussen
-
kd: Kieren Diment
-
kentnl: Kent Fredric
- kkane: Kevin L. Kane
-
konobi: Scott McWhirter
- lejeunerenard: Sean Zellmer
- littlesavage: Alexey Illarionov
- lukes: Luke Saunders
-
marcus: Marcus Ramberg
-
mateu: Mateu X. Hunter
- Matt LeBlanc
- Matt Sickler
- mattlaw: Matt Lawrence
-
mattp: Matt Phillips
- mdk: Mark Keating
-
melo: Pedro Melo
- metaperl: Terrence Brannon
- michaelr: Michael Reddick
- milki: Jonathan Chu
- minty: Murray Walker
-
mithaldu: Christian Walde
- mjemmeson: Michael Jemmeson
- mna: Maya
-
mo: Moritz Onken
-
moltar: Roman Filippov
- moritz: Moritz Lenz
-
mrf: Mike Francis
-
mstratman: Mark A. Stratman
- ned: Neil de Carteret
-
nigel: Nigel Metheringham
-
ningu: David Kamholz
- Nniuq: Ron "Quinn" Straight"
- norbi: Norbert Buchmuller
-
nothingmuch: Yuval Kogman
-
nuba: Nuba Princigalli
-
Numa: Dan Sully
- oalders: Olaf Alders
-
Olly Betts
-
osfameron: Hakim Cassimally
-
ovid: Curtis "Ovid" Poe
- oyse: Øystein Torget
- paulm: Paul Makepeace
- penguin: K J Cheetham
-
perigrin: Chris Prather
- Peter Siklósi
-
Peter Valdemar Mørch
- peter: Peter Collingbourne
- phaylon: Robert Sedlacek
-
plu: Johannes Plunien
- pmooney: Paul Mooney
-
Possum: Daniel LeWarne
- pplu: Jose Luis Martinez
-
quicksilver: Jules Bean
-
racke: Stefan Hornburg
-
rafl: Florian Ragwitz
- rainboxx: Matthias Dietrich
-
rbo: Robert Bohne
- rbuels: Robert Buels
- rdj: Ryan D Johnson
- Relequestual: Ben Hutton
-
renormalist: Steffen Schwigon
-
rjbs: Ricardo Signes
-
Robert Krimen
- Robert Olson
-
robkinyon: Rob Kinyon
-
Roman Ardern-Corris
-
ruoso: Daniel Ruoso
-
Sadrak: Felix Antonius Wilhelm Ostmann
- sc_: Just Another Perl Hacker
-
schwern: Michael G Schwern
- Scott R. Godin
-
scotty: Scotty Allen
-
semifor: Marc Mims
- Simon Elliott
- SineSwiper: Brendan Byrd
- skaufman: Samuel Kaufman
- solomon: Jared Johnson
- spb: Stephen Bennett
-
Squeeks
-
srezic: Slaven Rezic
- sszabo: Stephan Szabo
- Stephen Peters
-
stonecolddevin: Devin Austin
-
talexb: Alex Beamish
-
tamias: Ronald J Kimball
- TBSliver: Tom Bloor
-
teejay: Aaron Trevena
-
theorbtwo: James Mastros
-
Thomas Kratz
- timbunce: Tim Bunce
- tinita: Tina Mueller
- Todd Lipcon
- Tom Hukins
-
tommy: Tommy Butler
-
tonvoon: Ton Voon
-
triode: Pete Gamache
-
typester: Daisuke Murase
- uree: Oriol Soriano
- uwe: Uwe Voelker
-
vanstyn: Henry Van Styn
-
victori: Victor Igumnov
-
wdh: Will Hawes
- wesm: Wes Malone
-
willert: Sebastian Willert
-
wintermute: Toby Corkindale
-
wreis: Wallace Reis
-
xenoterracide: Caleb Cushing
- xmikew: Mike Wisener
-
yrlnry: Mark Jason Dominus
- zamolxes: Bogdan Lucaciu
-
Zefram: Andrew Main
- Dependencies
- Class::Accessor::Grouped
- Class::C3::Componentised
- Class::Inspector
- Config::Any
- Context::Preserve
- Data::Dumper::Concise
- Data::Page
- DBI
- Devel::GlobalDestruction
- Hash::Merge
- List::Util
- Module::Find
- Moo
- MRO::Compat
- namespace::clean
- Path::Class
- Scope::Guard
- SQL::Abstract
- Sub::Name
- Text::Balanced
- Try::Tiny
- CPAN Testers List
- Reverse dependencies
NAME
dbicadmin - utility for administrating DBIx::Class schemata
SYNOPSIS
dbicadmin: [-I] [long options...]
deploy a schema to a database
dbicadmin --schema=MyApp::Schema \
--connect='["dbi:SQLite:my.db", "", ""]' \
--deploy
update an existing record
dbicadmin --schema=MyApp::Schema --class=Employee \
--connect='["dbi:SQLite:my.db", "", ""]' \
--op=update --set='{ "name": "New_Employee" }'
OPTIONS
Actions
- --create
-
Create version diffs needs preversion
- --upgrade
-
Upgrade the database to the current schema
- --install
-
Install the schema version tables to an existing database
- --deploy
-
Deploy the schema to the database
- --select
-
Select data from the schema
- --insert
-
Insert data into the schema
- --update
-
Update data in the schema
- --delete
-
Delete data from the schema
- --op
-
compatibility option all of the above can be supplied as --op=<action>
- --help
-
display this help
Arguments
- --config-file or --config
-
Supply the config file for parsing by Config::Any
- --connect-info
-
Supply the connect info as trailing options e.g. --connect-info dsn=<dsn> user=<user> password=<pass>
- --connect
-
Supply the connect info as a JSON-encoded structure, e.g. an --connect=["dsn","user","pass"]
- --schema-class
-
The class of the schema to load
- --config-stanza
-
Where in the config to find the connection_info, supply in form MyApp::Model::DB
- --resultset or --resultset-class or --class
-
The resultset to operate on for data manipulation
- --sql-dir
-
The directory where sql diffs will be created
- --sql-type
-
The RDBMs flavour you wish to use
- --version
-
Supply a version install
- --preversion
-
The previous version to diff against
- --set
-
JSON data used to perform data operations
- --attrs
-
JSON string to be used for the second argument for search
- --where
-
JSON string to be used for the where clause of search
- --force
-
Be forceful with some operations
- --trace
-
Turn on DBIx::Class trace output
- --quiet
-
Be less verbose
- -I
-
Same as perl's -I, prepended to current @INC
AUTHORS
LICENSE
You may distribute this code under the same terms as Perl itself
Module Install Instructions
To install dbicadmin, simply copy and paste either of the commands in to your terminal
cpanm dbicadmin
perl -MCPAN -e shell install dbicadmin
For more information on module installation please visit the detailed CPAN module installation guide.