storm
storm copied to clipboard
Simple and powerful toolkit for BoltDB
I am probably missing something obvious, but how do I iterate over values in a bucket or get a list of keys from KeyValue storage? ```Go func store(db *storm.DB) {...
I am new to storm and bolt, so forgive me if it is obvious. I need to have an something like atomic Create of bucket or field that fails or...
Would it ok to have multiple databases opened in a single application? Or there is some sort of global locking that might prevent me from having 5-10 connection to different...
Hello! Great wrapper, I accidenlty found it, I think "toolkit" a little bit misleading on go-awesome, but may be it's just me... If there a short cut to check if...
``` type UniqueArray struct { Pk int `storm:"id,increment"` // primary key with auto increment Name string IntegerField uint64 `storm:"increment"` IndexedIntegerField uint32 `storm:"index,increment"` UniqueIntegerField [20]byte `storm:"unique,index"` // the starting value can...
Best way/practice to get something like this `'select sum(amount) as total, count(amount) as count from transactions where amount > 0 and "recipientId" = \''+args.address+'\'` with Storm is? And it must...
It seems that writing while inside `Query.Each` causes a deadlock due to lock acquisition deep in boltdb: Example script: ```go package main import "github.com/asdine/storm" type Item struct { Id int...
Better a small ex: We have 2 types OsJob and DbJob that implement interface Job. I want to store both in bucket "Job". (using gob codec) I tryed to modify...
Is there a way that a DB file can be opened on the one side - only readony (just to be used for querying) and the master side stays open...
am using storm with a qcrs style system. SO the reeads and writes are different databases. Is there a way for queries to be described as strings and then converted...