DBD-libsql

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Test::MinimumVersion::Fast" : "0.04",
            "Test::PAUSE::Permissions" : "0.07",
            "Test::Pod" : "1.41",
            "Test::Spellunker" : "v0.2.7"
         }
      },
      "runtime" : {
         "requires" : {
            "DBI" : "1.631",
            "HTTP::Request" : "6.00",
            "IO::Socket::SSL" : "2.00",
            "JSON" : "4.00",
            "LWP::UserAgent" : "6.00",
            "Protocol::WebSocket" : "0.20",
            "perl" : "5.018"
         }
      },
      "test" : {
         "requires" : {
            "DBD::SQLite" : "1.66",
            "Test::More" : "0.98"

META.yml  view on Meta::CPAN

    version: '0.06'
  DBD::libsql::db:
    file: lib/DBD/libsql.pm
  DBD::libsql::dr:
    file: lib/DBD/libsql.pm
  DBD::libsql::st:
    file: lib/DBD/libsql.pm
requires:
  DBI: '1.631'
  HTTP::Request: '6.00'
  IO::Socket::SSL: '2.00'
  JSON: '4.00'
  LWP::UserAgent: '6.00'
  Protocol::WebSocket: '0.20'
  perl: '5.018'
resources:
  bugtracker: https://github.com/ytnobody/p5-DBD-libsql/issues
  homepage: https://github.com/ytnobody/p5-DBD-libsql
  repository: https://github.com/ytnobody/p5-DBD-libsql.git
version: '0.06'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

README.md  view on Meta::CPAN

- Prepared statements use Hrana protocol parameter binding

# DEPENDENCIES

This module requires the following Perl modules:

- DBI (1.631 or later)
- LWP::UserAgent (6.00 or later)
- HTTP::Request (6.00 or later)
- JSON (4.00 or later)
- IO::Socket::SSL (2.00 or later) - for HTTPS connections

# AUTHOR

ytnobody <ytnobody@gmail.com>

# LICENSE

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

cpanfile  view on Meta::CPAN

requires 'perl', '5.018';
requires 'DBI', '1.631';
requires 'LWP::UserAgent', '6.00';
requires 'HTTP::Request', '6.00';
requires 'JSON', '4.00';
requires 'IO::Socket::SSL', '2.00';
requires 'Protocol::WebSocket', '0.20';

on 'test' => sub {
    requires 'Test::More', '0.98';
    requires 'DBD::SQLite', '1.66';  # for testing comparison
};

on 'develop' => sub {
    requires 'Alien::Turso::CLI', '0.01';
};

lib/DBD/libsql.pm  view on Meta::CPAN

=over 4

=item * DBI (1.631 or later)

=item * LWP::UserAgent (6.00 or later)

=item * HTTP::Request (6.00 or later)

=item * JSON (4.00 or later)

=item * IO::Socket::SSL (2.00 or later) - for HTTPS connections

=back

=head1 AUTHOR

ytnobody E<lt>ytnobody@gmail.comE<gt>

=head1 LICENSE

This library is free software; you can redistribute it and/or modify

lib/DBD/libsql/Hrana.pm  view on Meta::CPAN

package DBD::libsql::Hrana;
use strict;
use warnings;
use LWP::UserAgent;
use HTTP::Request;
use JSON;
use Protocol::WebSocket;
use IO::Socket::SSL;
use Carp;

our $VERSION = "0.06";

# Hrana Protocol Client for libSQL
# Based on the Hrana protocol specification used by libsql-client-ts

sub new {
    my ($class, %options) = @_;
    



( run in 0.633 second using v1.01-cache-2.11-cpan-1d5ca39e368 )