Collecting nette\database query, how to resolve %t, %b parameters etc.?
Notice: This thread is very old.
- mcmatak
- Member | 504
I need to collect query in string, i am not abble to use
$database->query("SELECT * FROM products WHERE hidden = ?", $hidden, " AND dateInserted > %d", $dateInserted);
i have to use
$database->query($query);
so, i collect query as a string, but how to resolve parameters according to used connection type?
in mssql is different use of boolean and date and time then in mysql
?