nette icon indicating copy to clipboard operation
nette copied to clipboard

Database\Table\Selection - špatný popisek u get()

Open Audio opened this issue 14 years ago • 2 comments

https://github.com/nette/nette/blob/master/Nette/Database/Table/Selection.php#L166

    /**
     * Returns row specified by primary key.
     * @param  mixed
     * @return ActiveRow or NULL if there is no such row
     */

V případě neexistujícího záznamu metoda nevrací NULL, nýbrž vrací FALSE stejně jako fetch().

Audio avatar Feb 11 '12 20:02 Audio

Pošli pull.

dg avatar Feb 12 '12 22:02 dg

Vyřešeno https://github.com/nette/nette/pull/530

Audio avatar Feb 13 '12 13:02 Audio