[storm] How to set isolation level in storm
Barry Warsaw
barry at canonical.com
Thu Jun 18 20:16:18 BST 2009
On Jun 18, 2009, at 2:04 PM, Jamu Kakar wrote:
> Welcome to Storm! :) You can specify the isolation level in the URI
> you pass to create_database, for example:
>
> postgres://user:password@host/database?isolation=autocommit
> postgres://user:password@host/database?isolation=read-committed
Part of me wishes there were alternative apis for setting some of
these url-based attributes. For example, I wanted to set the timeout
value for sqlite, but there's no public api for doing that afaict,
apart from setting it in the url.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 832 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/storm/attachments/20090618/fe105651/attachment.pgp
More information about the storm
mailing list