| 1 | package DBIO::PostgreSQL::JSONB; | ||
| 2 | # ABSTRACT: JSONB path expression helpers for DBIO::PostgreSQL queries | ||
| 3 | |||
| 4 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 3 | our $VERSION = '0.900007'; | |
| 8 | |||
| 9 | 3 | ▶ | use DBIO::PostgreSQL::JSONB::Op (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 3 | ▶ | use Exporter 'import'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 3 | our @EXPORT_OK = qw(jsonb); | |
| 13 | |||
| 14 | 21 | ▶ | sub jsonb { |
|
Subroutine
jsonb: called CC=1 SCAR=0.0
Pod
documented
| |||
| 15 | 21 | my ( $col, @path ) = @_; | |
| 16 | 21 | return DBIO::PostgreSQL::JSONB::Op->new( col => $col, path => \@path ); | |
| 17 | } | ||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | 3 | 1; | |
| 22 | |||
| 23 | __END__ | ||