-
If I connecting table (over related() or ref()) in foreach of Nette/Databese/Table/Selection more then once in one cycle Nette/Database will create duplicate SELECTs.
Nette 2.0.x from GitHub.
Exampl…
-
Troufam si rici ze prazdna hodnota, by se v pripade integer mela interpretovat jako NULL (samozrejme v pripade INTEGER, NUMBERIC) coz se nedeje, diky tomu v pripade model()->insert se odesle "" coz v …
talpa updated
11 years ago
-
When accessing a row in a database view, Nette occasionally throws this exception:
Nette\InvalidStateException - Row does not contain primary column data.
Error shows unpredictably - seems like cach…
-
Ahoj,
kdyz jsem stahl posledni Nette a Kdyby/Doctrine, vyskakuje na me tato hlaska. Rekl bych, ze se v nektere z poslednich verzi Nette zmenily jmenne prostory nekterych trid
```
/** @var array …
hojgr updated
11 years ago
-
It would be nice if [SqlLiteral](https://github.com/nette/nette/blob/master/Nette/Database/SqlLiteral.php) supports parameters the same way as the [NotORM_Literal](https://github.com/vrana/notorm/blob…
-
Hi, I can not connect to multiple MYSQL databases.
```
nette:
database:
default:
dsn: 'mysql:host=192.168.1.10;dbname=db1'
…
-
Zdravim,
uprava funkce removePlaceholders(array $condition) v Grido/DataSources/NetteDatabase funguje pouze pro MySQL. Pro Postgre nefunguje - neakceptuje znak ` pro uvozeni jmena tabulky. Myslim, z…
-
Když jsem přidával do [sandboxu](http://grido.bugyik.cz/example/inner/doctrine/) ukázku Doctrine, zjistil jsem, že driver si nerozumí s custom condition.
Chybu lze nasimulovat přidáním následujícího …
-
So; today I've tried Nette\DB and stumbled upon awful bug.
Let's have database like this:
```
CREATE TABLE "foo" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"name" text NOT NULL
);
INSE…
-
In some cases database returns randomly different rows for slightly the same queries.
dump: http://pastebin.com/DPae1Ukc
This returns rows 571, 565, 586, 577, 570:
```
SELECT `articles`.id FROM `ar…