-
Having supersimple M:N scenario
``` sql
CREATE TABLE "post" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"slug" text NOT NULL,
);
CREATE TABLE "tag" (
"id" integer NOT NUL…
srigi updated
11 years ago
-
To znamena kdyz chci typicky INSERT INTO ... SELECT
$this->insert($this->select(...)) vyskoci
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the …
-
Currently, when using
`$db->table('book')->where('NOT id', array())` or `$db->table('book')->where('id NOT', array())` it will result in query `SELECT * FROM book WHERE NOT ID IN (NULL)` or `SELECT * …
-
PHP Warning is triggered when calling toArray method on ActiveRow returned by Selection::insert() method (only) when cashing enabled.
-
This issue (https://github.com/nette/nette/issues/229) seems to be unresolved.
I am still getting this error:
PHP Notice: Undefined offset: 1830912 in /app/libs/Nette/Caching/Storages/FileJournal.php…
-
**Intro**: `Nette\Diagnostics\Debugger::log($exception)` is smart and saves full Tracy dump _only once for each exception_. This is great, because the logs won't full your hard drive when the same exc…
juzna updated
11 years ago
-
Most classes in `Nette\Database\Drivers` throw just `NotImplementedException` (i.e. `Nette\Database\Drivers\NotImplementedException`) instead of `Nette\NotImplementedException`.
That exception does N…
juzna updated
11 years ago
-
model:
class Stadions extends QOP\Database\Table
{
/*\* @var string _/
protected $tableName = 'aclResources'; /_ realy difficult to discover */
}
template:
{$stadion->name}
throw this err…
carpi updated
11 years ago
-
Hallo, we found error in class NetteExtension https://github.com/nette/nette/commit/e7fccad73be00844c8f6146badf1900825e9ecfa#L0R331
The problem is parameter @self. It is type Connection viz https://gi…
Z2ool updated
11 years ago
-
V prípade, že mám vypnuté MySQL, testy na Nette\Database nie sú preskočené ale zlyhajú. Je to preto, že PDO::__construct() aspoň u mňa (Wamp, php 5.3.9) vyhodí najprv warning a potom exception, čím sp…