From 144d88fc8b042df25a2b45112d461f837a98b5d5 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 4 Dec 2025 11:19:40 +0100 Subject: [PATCH] Misc doc fixes --- FU/Pg.pm | 4 ++-- FU/SQL.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FU/Pg.pm b/FU/Pg.pm index 75bc3af..5c81b6b 100644 --- a/FU/Pg.pm +++ b/FU/Pg.pm @@ -71,7 +71,7 @@ C<$string> can either be in key=value format or a URI, refer to L for the full list of supported formats and options. You may also pass an empty -string and leave the configuration up L. =item $conn->server_version @@ -702,7 +702,7 @@ While C is a valid JSON value, there's currently no way to distinguish that from SQL C. When sending C as bind parameter, it is sent as SQL C. -If you prefer to work with JSON are raw text values instead, use: +If you prefer to work with JSON as raw text values instead, use: $conn->set_type(json => 'text'); diff --git a/FU/SQL.pm b/FU/SQL.pm index 3e0869c..218a034 100644 --- a/FU/SQL.pm +++ b/FU/SQL.pm @@ -121,7 +121,7 @@ FU::SQL - Small and Safe SQL Query Builder my $sel = SQL 'SELECT id, name FROM table', WHERE { id => IN([1,2,3]) }; - my($sql, @params) = $sel->compile; + my($sql, $params) = $sel->compile; =head1 DESCRIPTION