The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MySQL::ORM

ATTRIBUTES

REQUIRED

none

OPTIONAL

dbh

METHODS

delete

parameters

Str     :$table! 
HashRef :$where

insert

parameters

Str     :$table     
HashRef :$values    
Bool    :$ignore = 0

make_where_clause

parameters

HashRef :$where!

prune_ddl_args

parameters

ArrayRef $args!

select

public methods sub function1 { }

parameters

Str      :$table!            
ArrayRef :$columns    = ['*']
HashRef  :$where      = {}   
ArrayRef :$order_by          
HashRef  :$other      = {}   
Bool     :$distinct   = 0    
Bool     :$for_update = 0

select_one

parameters

Str      :$table!                    
ArrayRef :$columns            = ['*']
HashRef  :$where              = {}   
HashRef  :$other              = {}   
Bool     :$confess_on_no_rows = 0    
Bool     :$for_update         = 0

update

parameters

Str     :$table!      
HashRef :$values!     
HashRef :$where   = {}

upsert

parameters

Str     :$table!  
HashRef :$values!