-
Při zjišťování počtu záznamů, si zbytečně grida nechává vracet všechny záznamy, díky špatnému volání getCount() ve tříde NetteDatabase.php.
Správně by mělo být:
```
/**
* @return int
*/
public fun…
-
I've found a bug in caching of Nette\Database. Consider the following code:
``` php
$articles = $connection->table('articles');
foreach ($articles as $article) {
dump($article);
//$author = …
fabik updated
11 years ago
-
Viz fórum: http://forum.nette.org/cs/9057-nette-database-table-invalid-argument-supplied-for-foreach.
-
I've found another bug in Nette\Database.
``` sql
CREATE TABLE `nodes` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(10) unsigned DEFAULT NULL,
`text` varchar(255) COLLATE ut…
fabik updated
11 years ago
-
Na 00u is de huidige borrel niet meer te zien en dus ook niet wie de laatste tapper is.
Jille updated
11 years ago
-
Since Nette supports multiply tests, I've runs them against to several PostgreSQL servers. Against `7.4.30 8.1.23 8.2.23 8.3.20 8.4.13 9.0.9 9.1.5 9.2.0` in the concrete.
Some tests faild because of …
milo updated
11 years ago
-
I think there is bug in PgSqlDriver::getForeignKeys method. There is join over information_schema.constraint_column_usage table and if I connecting to database with user which is not owner of tables "…
-
Zdravím. Narazil jsem na problém při vytváření komponenty resp. jejím připojování k presenteru.
Ke konfiguraci komponenty se používá metoda attached, která volá metodu configure, jež je překrytá v pod…
ghost updated
12 years ago
-
```
// Pokud je zadán pouze count berou se všechny sloupce, zkoušel jsem nette na 2.1-dev
public function getSelectedRowsCount()
{
return $this->data->count("*");
}
```
-
Hledal jsem důvod, proč se mi nezobrazuje Debug Panel v Nette při použití dibi bez použití statického `dibi::__něco__`. Přestože mám v konfiguraci Debug Panel zapnutý, nezobrazí se.
O vytvoření a nap…