On Sun, Feb 23, 2014 at 08:06:08AM -0800, [email protected] wrote:
> All,
>   
>   I wonder whether node.js support two phase commit(we have to split data 
> in different Database due to the data size or not). I saw Sequelize has 
> supported transaction. If not, is there a plan when it will be supported?

That's not exactly something node provides itself: That's a protocol between
you and the databases.

MySQL supports this with its XA Transactions, purely within the MySQL command
language itself; other databases vary.

I don't know of many (any, but I've not looked hard) layers on top of databases
that support it -- but you can usually make it work if you can get access to
the low-level database handles for those fancier layers.

Aria

Attachment: pgp5ZvptHnVUV.pgp
Description: PGP signature

Reply via email to