DBD-libsql

 view release on metacpan or  search on metacpan

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

        ['ERROR', 'Failed to process request'],
    );
    
    for my $entry (@log_data) {
        $sth->execute(@$entry);
    }
    
    $sth->finish();
    print "Inserted " . scalar(@log_data) . " log entries\n";
    
    $dbh->disconnect();

=head1 COMPATIBILITY

=head2 libsql Server Versions

This driver is compatible with:

=over 4

=item * libsql server v0.21.0 and later

=item * Turso managed databases

=item * sqld (libsql server daemon)

=back

=head2 Perl Versions

Requires Perl 5.18 or later.

=head2 DBI Compliance

Implements DBI specification 1.631+ with the following notes:

=over 4

=item * All standard DBI methods are supported

=item * Some DBD-specific attributes (like last_insert_id) may have limitations

=item * Prepared statements use Hrana protocol parameter binding

=back

=head1 DEPENDENCIES

This module requires the following Perl modules:

=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
it under the same terms as Perl itself.

=head1 SEE ALSO

=head2 Related Perl Modules

=over 4

=item * L<DBI> - Database independent interface for Perl

=item * L<DBD::SQLite> - SQLite driver for DBI (local file databases)

=item * L<DBD::Pg> - PostgreSQL driver for DBI

=item * L<DBD::mysql> - MySQL driver for DBI

=back

=head2 libsql and Turso Documentation

=over 4

=item * L<https://docs.turso.tech/> - Turso cloud database documentation

=item * L<https://github.com/tursodatabase/libsql> - libsql GitHub repository

=item * L<https://docs.turso.tech/reference/libsql-urls> - libsql URL format specification

=item * L<https://docs.turso.tech/sdk/http/reference> - Hrana protocol documentation

=back

=head2 Development Tools

=over 4

=item * L<https://docs.turso.tech/reference/turso-cli> - Turso CLI for database management

=item * L<https://github.com/tursodatabase/turso-cli> - Turso CLI source code

=back

=head2 Alternative Solutions

=over 4

=item * libsql official SDKs for other languages

=item * Direct HTTP API access using LWP::UserAgent



( run in 1.822 second using v1.01-cache-2.11-cpan-39bf76dae61 )