[Opa] How to get a fresh primary key from db?

Frederic Ye frederic.ye at mlstate.com
Sat Mar 24 16:19:43 UTC 2012


Hello, 

If you are using Opa built-in database (Db3), you have to use Db3.fresh_key now.

Otherwise, if you use a MongoDB database, you have to compute a fresh key yourself.

On 21 mars 2012, at 11:25, Alberto M wrote:

> https://gist.github.com/2145982
> It doesn't work anymore with Opa compiler 1494.
> 
> Thx.
> 
> Alberto M
> _______________________________________________
> Opa mailing list
> Opa at lists.owasp.org
> https://lists.owasp.org/mailman/listinfo/opa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/opa/attachments/20120324/3e3a9e7c/attachment.html>


More information about the Opa mailing list