From f2c8fce51c6d6b84cb95734e86fc2ad474967aec Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 3 Jan 2025 17:38:40 +0000 Subject: [PATCH] Create docs --- docs/api/Red/AST/StringFuncs.md | 10 ++++++++++ docs/api/Red/ColumnMethods.md | 24 ++++++++++++++++++++++++ docs/api/Red/Driver/Pg.md | 2 +- docs/api/Red/Driver/SQLite.md | 2 +- 4 files changed, 36 insertions(+), 2 deletions(-) diff --git a/docs/api/Red/AST/StringFuncs.md b/docs/api/Red/AST/StringFuncs.md index 40561a2a..185904d3 100644 --- a/docs/api/Red/AST/StringFuncs.md +++ b/docs/api/Red/AST/StringFuncs.md @@ -12,3 +12,13 @@ class Red::AST::Index Represents a index call +class Red::AST::Lowercase +------------------------- + +Represents a lc/fc call + +class Red::AST::Uppercase +------------------------- + +Represents a uc call + diff --git a/docs/api/Red/ColumnMethods.md b/docs/api/Red/ColumnMethods.md index 0e977209..3afd7c6f 100644 --- a/docs/api/Red/ColumnMethods.md +++ b/docs/api/Red/ColumnMethods.md @@ -35,6 +35,30 @@ method contains( Tests if that column value contains a specific sub-string is usually translated for SQL as `column like %'substr%'` +### method lc + +```raku +method lc() returns Mu +``` + +Return a lowercased string + +### method fc + +```raku +method fc() returns Mu +``` + +Return a lowercased string + +### method uc + +```raku +method uc() returns Mu +``` + +Return a uppercased string + ### method substr ```raku diff --git a/docs/api/Red/Driver/Pg.md b/docs/api/Red/Driver/Pg.md index 8ff725fb..7688c54a 100644 --- a/docs/api/Red/Driver/Pg.md +++ b/docs/api/Red/Driver/Pg.md @@ -1,4 +1,4 @@ -class submethod BUILD (Red::Driver::Pg: :$!dbh, Str :$!user, Str :$!password, Str :$!host = "127.0.0.1", Int :$!port = 5432, Str :$!dbname, *%_) { #`(Submethod|140278952491296) ... } +class submethod BUILD (Red::Driver::Pg: :$!dbh, Str :$!user, Str :$!password, Str :$!host = "127.0.0.1", Int :$!port = 5432, Str :$!dbname, *%_) { #`(Submethod|140611491806032) ... } -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Data accepted by the Pg driver constructor: dbh : DB::Pg object user : User to be used to connect to the database password: Password to be used to connect to the database host : To be connected to port : What port to connect dbname : Database name diff --git a/docs/api/Red/Driver/SQLite.md b/docs/api/Red/Driver/SQLite.md index b4ae4352..8efce529 100644 --- a/docs/api/Red/Driver/SQLite.md +++ b/docs/api/Red/Driver/SQLite.md @@ -1,4 +1,4 @@ -class submethod BUILD (Red::Driver::SQLite: DBDish::SQLite::Connection :$!dbh, Str :$!database = ":memory:", *%_) { #`(Submethod|140243401985088) ... } +class submethod BUILD (Red::Driver::SQLite: DBDish::SQLite::Connection :$!dbh, Str :$!database = ":memory:", *%_) { #`(Submethod|140085068526368) ... } ------------------------------------------------------------------------------------------------------------------------------------------------------- Data accepted by the SQLite driver constructor: dbh : DBDish::SQLite object database: File name or C<:memory:> to a in memory DB (default)