coresmart / persistencejs

persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
http://persistencejs.org
1.72k stars 240 forks source link

Added dummy session-related methods to persistence.store.memory #31

Closed mhayashi closed 13 years ago

mhayashi commented 13 years ago

Hi,

I'm trying to use In-memory store on server-side to avoid dependence on MySQL while unit-testing of my app. Now it seems almost methods work. But persistence.store.memory doesn't provide session-related methods, so I have to modify the app for unit-testing. This isn't good.

This patch added dummy session-related methods to persistence.store.memory.