Skip to content

Commit

Permalink
Create docs
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 3, 2025
1 parent 5401a47 commit f2c8fce
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
10 changes: 10 additions & 0 deletions docs/api/Red/AST/StringFuncs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

24 changes: 24 additions & 0 deletions docs/api/Red/ColumnMethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Red/Driver/Pg.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/api/Red/Driver/SQLite.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit f2c8fce

Please sign in to comment.