src/bbn/db.php
public function last_id()
  {
    if ( $this->last_insert_id ){
      return str::is_buid($this->last_insert_id) ? bin2hex($this->last_insert_id) : $this->last_insert_id;
    }
    return false;
  }
public function last_id()
  {
    if ( $this->last_insert_id ){
      return str::is_buid($this->last_insert_id) ? bin2hex($this->last_insert_id) : $this->last_insert_id;
    }
    return false;
  }
public function last_id ( ) { if ( $ this -> last_insert_id ) { return str :: is_buid ( $ this -> last_insert_id ) ? bin2hex ( $ this -> last_insert_id ) : $ this -> last_insert_id ; } return false ; }
Return the last inserted ID.

```php
\bbn\x::dump($db->last_id());
// (int) 26
```

@return mixed
Return the last inserted ID .