سؤال

i use mysql, php on propel.

i have used transaction row lock on mysql with native SQL query(e.g. SELECT FOR UPDATE). and now , I'm using propel to use ORM.

but propel is not support row lock by propel transaction limitations .

Here is MYSQL InnoDB Lock Modes .

any ideas for overcome this problem?

هل كانت مفيدة؟

المحلول

As Propel does not support this, the only solution I see would be to execute raw SQL.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top