blib/lib/DBIO/PostgreSQL/Vector.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/DBIO/PostgreSQL/Test/SequenceTest.pm ↑ Summary blib/lib/DBIO/Shortcut/pg.pm »
1 package DBIO::PostgreSQL::Vector;
2 # ABSTRACT: pgvector distance-query helpers for DBIO::PostgreSQL
3  
4 29 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 29 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 29 our $VERSION = '0.900007';
8  
9 29 ▶use DBIO::PostgreSQL::Vector::Op ();
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 29 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 29 our @EXPORT_OK = qw(vector);
13  
14 46 ▶sub vector {
Subroutine vector: called CC=1 SCAR=0.0
Pod documented
15 46 my ( $col, %opts ) = @_;
16 46 return DBIO::PostgreSQL::Vector::Op->new( col => $col, %opts );
17 }
18  
19  
20  
21 29 1;
22  
23 __END__
« blib/lib/DBIO/PostgreSQL/Test/SequenceTest.pm ↑ Summary blib/lib/DBIO/Shortcut/pg.pm »