troutwine
troutwine

Reputation: 3821

Ruby EventMachine with PostgreSQL

I know that for mysql em-mysql exists as an asynchronous interface driver to MySQL and that Active Record, with some modification, can make immediate use of. I believe Sequel has this capability already. I also understand that the pg gem exposes PostgreSQL's native async API.

My question: is there any Ruby ORM that natively interoperates with EventMachine when the backing database is PostgreSQL? If not, what needs to be done to retrofit Sequel to support async PostgreSQL? ActiveRecord?

Upvotes: 4

Views: 1232

Answers (1)

seph
seph

Reputation: 6076

This looks like it works with ActiveRecord:

https://github.com/mperham/em_postgresql

Upvotes: 1

Related Questions