在单个查询中更新两个表

时间:2017-04-18 10:43:38

标签: sql orientdb nosql

如何使用单个查询更新orientdb中的多个表?

寻找类似的东西

An invalid form control with name='academic-rating' is not focusable.
An invalid form control with name='accomodation-rating' is not focusable.
An invalid form control with name='faculty-rating' is not focusable.
An invalid form control with name='infrastructure-rating' is not focusable.
An invalid form control with name='social-rating' is not focusable.

1 个答案:

答案 0 :(得分:1)

您无法在一个语句中更新多个表,但是,您可以使用事务来确保以原子方式处理两个UPDATE语句。您也可以批量处理它们以避免往返。