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!