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 28, 2024
1 parent b315892 commit 03a119c
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/api/Red/AST/StringFuncs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ class Red::AST::Substring

Represents a substring call

class Red::AST::Index
---------------------

Represents a index call

35 changes: 33 additions & 2 deletions docs/api/Red/ColumnMethods.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,44 @@ Tests if that column value contains a specific sub-string is usually translated

```raku
method substr(
Int(Any) $offset = 0,
Int(Any) $size?
$offset = Code.new,
$size?
) returns Mu
```

Return a substring of the column value

### method substr

```raku
method substr(
$offset = Code.new,
$size?
) returns Mu
```

Return a substring of the column value

### method index

```raku
method index(
$needle
) returns Mu
```

Return a index of the column value

### method index

```raku
method index(
$needle
) returns Mu
```

Return a index of the column value

### method year

```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|140666066084384) ... }
class submethod BUILD (Red::Driver::Pg: :$!dbh, Str :$!user, Str :$!password, Str :$!host = "127.0.0.1", Int :$!port = 5432, Str :$!dbname, *%_) { #`(Submethod|140482098991472) ... }
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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|140098505349536) ... }
class submethod BUILD (Red::Driver::SQLite: DBDish::SQLite::Connection :$!dbh, Str :$!database = ":memory:", *%_) { #`(Submethod|140400744012800) ... }
-------------------------------------------------------------------------------------------------------------------------------------------------------

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 03a119c

Please sign in to comment.