Skip to content

Instantly share code, notes, and snippets.

@jasp402
Last active November 26, 2018 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasp402/70a9031d45a0c75565a9424b4eb028b9 to your computer and use it in GitHub Desktop.
Save jasp402/70a9031d45a0c75565a9424b4eb028b9 to your computer and use it in GitHub Desktop.
Lista de nombre de funciones
public $_database;
__construct()
get($primary_value)
get_by()
get_many($values)
get_many_by()
get_all()
insert($data, $skip_validation = FALSE)
insert_many($data, $skip_validation = FALSE)
update($primary_value, $data, $skip_validation = FALSE)
update_many($primary_values, $data, $skip_validation = FALSE)
update_by()
update_all($data)
delete($id)
delete_by()
delete_many($primary_values)
truncate()
with($relationship)
relate($row)
count_by()
count_all()
skip_validation()
get_skip_validation()
get_next_id()
table()
as_array()
as_object()
with_deleted()
only_deleted()
created_at($row)
updated_at($row)
serialize($row)
unserialize($row)
protect_attributes($row)
order_by($criteria, $order = 'ASC')
limit($limit, $offset = 0)
trigger($event, $data = FALSE, $last = TRUE)
validate($data)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment