$db
$db : resource
A Team.
Represents an object from the table 'unit'.
$unit : array<mixed,\Unit>
__construct(resource $db, integer $id, boolean $complete = true)
Constructor.
Searches the database and retrieves the information about the monster, populating it and it's items.
| resource | $db | Connection to the database. |
| integer | $id | Monster identifier. |
| boolean | $complete | If false, it won't load the units. |