database\query::insert($values = null)

Fires an insert query

  • $values (array)
    You can pass values here or set them with ->values() before
  • return (mixed)
    Returns the last inserted id on success or false.