sql:'select `first_name`, `last_name` from `accounts` where `id` = ?',
bindings:[1]
},{
sql:'select `email`, `logins` from `accounts` where `id` > ?',
bindings:[1]
},{
sql:'select * from `accounts` where `id` = ?',
bindings:[1]
},{
sql:'select * from `accounts` where `id` = ?',
bindings:[undefined]
},{
sql:'select `first_name`, `email` from `accounts` where `id` = ?',
bindings:[null]
},{
sql:'select * from `accounts` where `id` = ?',
bindings:[null]
}]
},
'selects.3':{
mysql:[{
sql:'select `first_name`, `last_name` from `accounts` where `id` = ? or `id` > ?',
bindings:[1,2]
}]
},
'selects.4':{
mysql:[{
sql:'select `first_name`, `last_name`, `about` from `accounts` where `id` = ? and `email` = ?',
bindings:[1,'test@example.com']
}]
},
'selects.5':{
mysql:[{
sql:'select * from `accounts` where (`id` = ? or `id` = ?)',
bindings:[2,3]
}]
},
'selects.6':{
mysql:[{
sql:'select * from `accounts` where `id` in (?, ?, ?)',
bindings:[1,2,3]
}]
},
'selects.7':{
mysql:{
sql:'select * from `accounts` where `email` = ? or `id` in (?, ?, ?)',
bindings:['test@example.com',2,3,4]
}
},
'selects.8':{
mysql:{
sql:'select * from `accounts` where exists (select `id` from `test_table_two` where `id` = ?)',
bindings:[1]
}
},
'selects.9':{
mysql:{
sql:'select * from `accounts` where `id` between ? and ?',
bindings:[1,100]
}
},
'selects.10':{
mysql:{
sql:'select * from `accounts` where `id` between ? and ? or `id` between ? and ?',
bindings:[1,100,200,300]
}
},
'selects.11':{
mysql:{
sql:'select `accounts`.*, `test_table_two`.`details` from `accounts` inner join `test_table_two` on `accounts`.`id` = `test_table_two`.`account_id`',
bindings:[]
}
},
'selects.12':{
mysql:{
sql:'select `accounts`.*, `test_table_two`.`details` from `accounts` left join `test_table_two` on `accounts`.`id` = `test_table_two`.`account_id`',
bindings:[]
}
},
'selects.13':{
mysql:{
sql:'select * from `accounts` left join `test_table_two` on `accounts`.`id` = `test_table_two`.`account_id` or `accounts`.`email` = `test_table_two`.`details`',
bindings:[]
}
},
'deletes.1':{
mysql:{
sql:'delete from `accounts` where `email` = ?',
bindings:['test2@example.com']
}
},
'unions.1':{
mysql:{
sql:'select * from `accounts` where `id` = ? union select * from `accounts` where `id` = ?',