Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DBIx::Class::DeploymeDUser:ContributedoPerltDocumentationNAME
       DBIx::Class::DeploymentHandler::WithReasonableDefaults -	Make default
       arguments to a few methods sensible

CONVENIENCE
       The whole point of this role is to set defaults for arguments of
       various methods.	 It's a	little awesome.

METHODS
   prepare_upgrade
       Defaulted args:

	 my $from_version = $self->database_version;
	 my $to_version	  = $self->schema_version;
	 my $version_set  = [$from_version, $to_version];

   prepare_downgrade
       Defaulted args:

	 my $from_version = $self->schema_version;
	 my $to_version	  = $self->data_version;
	 my $version_set  = [$from_version, $to_version];

   install_resultsource
       Defaulted args:

	 my $version = $self->to_version;

AUTHOR
       Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2015 by Arthur Axel "fREW" Schmidt.

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

perl v5.24.1	     DBIx::Class::DeploymentHandler::WithReasonableDefaults(3)

NAME | CONVENIENCE | METHODS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DBIx::Class::DeploymentHandler::WithReasonableDefaults&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help