line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: ArangoDB Cursor object |
2
|
|
|
|
|
|
|
package Arango::DB::Cursor; |
3
|
|
|
|
|
|
|
$Arango::DB::Cursor::VERSION = '0.004'; |
4
|
4
|
|
|
4
|
|
25
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
130
|
|
5
|
4
|
|
|
4
|
|
20
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
75
|
|
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
4
|
|
2379
|
use Data::Dumper; |
|
4
|
|
|
|
|
27358
|
|
|
4
|
|
|
|
|
618
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub _new { |
10
|
0
|
|
|
0
|
|
|
my ($class, %opts) = @_; |
11
|
0
|
|
|
|
|
|
my $self = { arango => $opts{arango}, database => $opts{database} }; |
12
|
|
|
|
|
|
|
|
13
|
0
|
|
|
|
|
|
my $ans = $self->{arango}->_api('create_cursor', \%opts); |
14
|
|
|
|
|
|
|
|
15
|
0
|
|
|
|
|
|
return bless { %$ans, %$self } => $class; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |