AnyMongo
view release on metacpan or search on metacpan
---
abstract: 'Asynchronous non-blocking MongoDB driver for AnyEvent applications'
author:
- 'Pan Fan(nightsailer) <nightsailer at gmail.com>'
- 'Kristina Chodorow <kristina at 10gen.com>'
build_requires:
Test::Deep: 0.106
Test::More: 0.9
configure_requires:
ExtUtils::MakeMaker: 6.31
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.102221, CPAN::Meta::Converter version 2.101670'
Makefile.PL view on Meta::CPAN
# This Makefile.PL for was generated by Dist::Zilla.
# Don't edit it but the dist.ini used to construct it.
use strict;
use warnings;
use ExtUtils::MakeMaker 6.31;
my %WriteMakefileArgs = (
'ABSTRACT' => 'Asynchronous non-blocking MongoDB driver for AnyEvent applications',
'AUTHOR' => 'Pan Fan(nightsailer) <nightsailer at gmail.com>, Kristina Chodorow <kristina at 10gen.com>',
'BUILD_REQUIRES' => {
'Test::Deep' => '0.106',
'Test::More' => '0.9'
},
'CONFIGURE_REQUIRES' => {
'ExtUtils::MakeMaker' => '6.31'
},
'DISTNAME' => 'AnyMongo',
'EXE_FILES' => [],
NAME
AnyMongo - Asynchronous non-blocking MongoDB driver for AnyEvent
applications
VERSION
version 0.03
SYNOPSIS
use AnyMongo;
my $connection = AnyMongo::new_connection(host => 'mongodb://localhost:27017');
my $database = $connection->get_database('foo');
lib/AnyMongo.pm view on Meta::CPAN
package AnyMongo;
BEGIN {
$AnyMongo::VERSION = '0.03';
}
# ABSTRACT: Asynchronous non-blocking MongoDB driver for AnyEvent applications
BEGIN {
$AnyMongo::VERSION = '0.03';
}
use strict;
use warnings;
use XSLoader;
use AnyMongo::Connection;
sub new_connection {
shift;
return AnyMongo::Connection->new(@_);
}
XSLoader::load(__PACKAGE__, $AnyMongo::VERSION);
1;
=pod
=head1 NAME
AnyMongo - Asynchronous non-blocking MongoDB driver for AnyEvent applications
=head1 VERSION
version 0.03
=head1 SYNOPSIS
use AnyMongo;
my $connection = AnyMongo::new_connection(host => 'mongodb://localhost:27017');
lib/AnyMongo/Collection.pm view on Meta::CPAN
package AnyMongo::Collection;
BEGIN {
$AnyMongo::Collection::VERSION = '0.03';
}
# ABSTRACT: Asynchronous MongoDB::Collection
use strict;
use warnings;
use namespace::autoclean;
use Tie::IxHash;
use boolean;
use Any::Moose;
has _database => (
is => 'ro',
isa => 'AnyMongo::Database',
lib/AnyMongo/Collection.pm view on Meta::CPAN
}
__PACKAGE__->meta->make_immutable;
1;
=pod
=head1 NAME
AnyMongo::Collection - Asynchronous MongoDB::Collection
=head1 VERSION
version 0.03
=head1 AUTHORS
=over 4
=item *
lib/AnyMongo/Connection.pm view on Meta::CPAN
package AnyMongo::Connection;
BEGIN {
$AnyMongo::Connection::VERSION = '0.03';
}
# ABSTRACT: Asynchronous MongoDB::Connection
use strict;
use warnings;
use constant {
DEBUG => $ENV{ANYMONGO_DEBUG},
# bson type
BSON_INT32 => 4,
BSON_INT64 => 8,
# msg header size
STANDARD_HEADER_SIZE => 16,
RESPONSE_HEADER_SIZE => 20,
lib/AnyMongo/Connection.pm view on Meta::CPAN
__PACKAGE__->meta->make_immutable;
1;
=pod
=head1 NAME
AnyMongo::Connection - Asynchronous MongoDB::Connection
=head1 VERSION
version 0.03
=head1 SYNOPSIS
=head1 DESCRIPTION
=for connection flow
lib/AnyMongo/Cursor.pm view on Meta::CPAN
package AnyMongo::Cursor;
BEGIN {
$AnyMongo::Cursor::VERSION = '0.03';
}
#ABSTRACT: A asynchronous cursor/iterator for Mongo query results
use strict;
use warnings;
use namespace::autoclean;
use boolean;
use Tie::IxHash;
use AnyMongo::MongoSupport;
use Any::Moose;
use Carp qw(croak confess);
$AnyMongo::Cursor::slave_okay = 0;
lib/AnyMongo/Cursor.pm view on Meta::CPAN
}
__PACKAGE__->meta->make_immutable;
1;
=pod
=head1 NAME
AnyMongo::Cursor - A asynchronous cursor/iterator for Mongo query results
=head1 VERSION
version 0.03
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 AUTHORS
lib/AnyMongo/Database.pm view on Meta::CPAN
package AnyMongo::Database;
BEGIN {
$AnyMongo::Database::VERSION = '0.03';
}
# ABSTRACT: Asynchronous MongoDB::Database
use strict;
use warnings;
use namespace::autoclean;
use Any::Moose;
use constant {
SYSTEM_NAMESPACE_COLLECTION => "system.namespaces",
SYSTEM_INDEX_COLLECTION => "system.indexes",
SYSTEM_PROFILE_COLLECTION => "system.profile",
SYSTEM_USER_COLLECTION => "system.users",
SYSTEM_JS_COLLECTION => "system.js",
lib/AnyMongo/Database.pm view on Meta::CPAN
__PACKAGE__->meta->make_immutable;
1;
=pod
=head1 NAME
AnyMongo::Database - Asynchronous MongoDB::Database
=head1 VERSION
version 0.03
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 AUTHORS
lib/AnyMongo/GridFS.pm view on Meta::CPAN
package AnyMongo::GridFS;
BEGIN {
$AnyMongo::GridFS::VERSION = '0.03';
}
# ABSTRACT: Asynchronous MongoDB::GridFS
use strict;
use warnings;
1;
=pod
=head1 NAME
AnyMongo::GridFS - Asynchronous MongoDB::GridFS
=head1 VERSION
version 0.03
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 NAME
( run in 1.044 second using v1.01-cache-2.11-cpan-0d8aa00de5b )