Support SELECT … FOR UPDATE and SELECT … LOCK IN SHARE MODE

Notice: This thread is very old.
Jakub Nerad
Member | 21
+
0
-

Hi,

does Nette Database support SELECT ... LOCK IN SHARE MODE?

(http://dev.mysql.com/…g-reads.html)

Jan Tvrdík
Nette guru | 2595
+
0
-

@Jakub Nerad: Yes, Nette Database supports all queries.

Jakub Nerad
Member | 21
+
0
-

Thank you.

Ok, I use exec.

But I meant some API like $table->lock($exclusive) in NotORM.

ricco24
Member | 141
+
+1
-

Will be method $table->lock($exclusive) implemented to nette database? It can be useful.