ActiveRecord-Simple
view release on metacpan or search on metacpan
{
"abstract" : "unknown",
"author" : [
"shootnix <shootnix@cpan.org>"
],
"dynamic_config" : 1,
"generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : 2
},
"DBI" : "0",
"Module::Load" : "0",
"Scalar::Util" : "0",
"perl" : "5.010"
}
}
},
"release_status" : "stable",
"resources" : {
"repository" : {
"url" : "https://github.com/shootnix/activerecord-simple"
}
},
"version" : "1.11",
"x_serialization_backend" : "JSON::PP version 2.97000"
}
---
abstract: unknown
author:
- 'shootnix <shootnix@cpan.org>'
build_requires:
ExtUtils::MakeMaker: '0'
Test::More: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
directory:
- t
- inc
requires:
DBD::SQLite: '0'
DBI: '0'
Module::Load: '0'
Scalar::Util: '0'
perl: '5.010'
resources:
repository: https://github.com/shootnix/activerecord-simple
version: '1.11'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile1(
NAME => 'ActiveRecord::Simple',
AUTHOR => q{shootnix <shootnix@cpan.org>},
VERSION_FROM => 'lib/ActiveRecord/Simple.pm',
LICENSE => 'perl',
PL_FILES => {},
PREREQ_PM => {
'Module::Load' => 0,
'DBI' => 0,
'DBD::SQLite' => 0,
'Scalar::Util' => 0,
},
MIN_PERL_VERSION => '5.010',
META_MERGE => {
resources => {
repository => 'https://github.com/shootnix/activerecord-simple',
},
},
TEST_REQUIRES => {
'Test::More' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'ActiveRecord::Simple-*' },
);
sub WriteMakefile1 { #Compatibility code for old versions of EU::MM. Written by Alexandr Ciornii, version 0.23. Added by eumm-upgrade.
After installing, you can find documentation for this module with the
perldoc command.
perldoc ActiveRecord::Simple
Feel free to join us at google groups:
https://groups.google.com/forum/#!forum/activerecord-simple
Also the github page:
http://shootnix.github.io/activerecord-simple/
LICENSE AND COPYRIGHT
=====================
Copyright (C) 2013-2018 shootnix
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
CREDITS
=======
@shootnix
@kberov
@chorny
@lifeofguenter
@neilbowers
@dsteinbrunner
@reindeer
@grinya007
After installing, you can find documentation for this module with the
perldoc command.
perldoc ActiveRecord::Simple
Feel free to join us at google groups:
https://groups.google.com/forum/#!forum/activerecord-simple
Also the github page:
http://shootnix.github.io/activerecord-simple/
LICENSE AND COPYRIGHT
=====================
Copyright (C) 2013-2018 shootnix
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
CREDITS
=======
@shootnix
@kberov
@chorny
@lifeofguenter
@neilbowers
@dsteinbrunner
@reindeer
@grinya007
@manwar
lib/ActiveRecord/Simple.pm view on Meta::CPAN
=head2 decrement
Decrement fields
$customer->decrement('age')->save;
=head1 AUTHOR
shootnix, C<< <shootnix at cpan.org> >>
=head1 BUGS
Please report any bugs or feature requests to C<shootnix@cpan.org>, or through
the github: https://github.com/shootnix/activerecord-simple/issues
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc ActiveRecord::Simple
You can also look for information at:
=over 1
=item * Github wiki:
L<https://github.com/shootnix/activerecord-simple/wiki>
=back
=head1 ACKNOWLEDGEMENTS
=head1 LICENSE AND COPYRIGHT
Copyright 2013-2018 shootnix.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
=cut
lib/ActiveRecord/Simple/Find.pm view on Meta::CPAN
Customer->find('age > ?', 21)->only('first_name', 'last_name')->order_by('id')->desc->limit(100);
# SELECT p.filename, p.id, pp.* FROM photo p LEFT JOIN person pp ON p.person_id = pp.id WHERE p.size = '1020x768';
Photo->find({ size => '1020x768' })->with('person')->only('filename', 'id');
# SELECT t.* FROM topping_pizza tp LEFT JOIN topping t ON t.id = tp.topping_id WHERE tp.pizza_id = <$val>;
Pizza->get(<$val>)->toppings();
=head1 AUTHOR
shootnix, C<< <shootnix at cpan.org> >>
=head1 BUGS
Please report any bugs or feature requests to C<shootnix@cpan.org>, or through
the github: https://github.com/shootnix/activerecord-simple/issues
=head1 SUPPORT
You can find documentation for this module with the perldoc command.
perldoc ActiveRecord::Simple
You can also look for information at:
=over 1
=item * Github wiki:
L<https://github.com/shootnix/activerecord-simple/wiki>
=back
=head1 ACKNOWLEDGEMENTS
=head1 LICENSE AND COPYRIGHT
Copyright 2013-2018 shootnix.
This program is free software; you can redistribute it and/or modify it
under the terms of either: the GNU General Public License as published
by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
=cut
( run in 0.801 second using v1.01-cache-2.11-cpan-df04353d9ac )