steven
steven
model.db is return from storm.Open
commit 68fc73b635f890fe7ba2f3b15ce80c85b28a744f of master this error occurs occasionally ,i cannot make sure how to reproduce this error.
when UniqueIntegerField is string, it will be ok. how to fix this?
``` type UniqueArray struct { Name string UniqueIntegerField [20]byte `storm:"id"` // the starting value can be set } func testUniqueArray(t *testing.T, dbPath string) { db, err := storm.Open(dbPath, storm.Codec(gob.Codec)) if...
thanks very much,I have found the document ``` Save creates or updates all the required indexes and buckets, checks the unique constraints and saves the object to the store. ```
if want to index type [20]byte or bool, storm's behavior is puzzled. I'll only use type in the example
估计是版本太高了... rustc 什么版本呢?
你如何证明是顺序执行的?
语法高亮一下,排版一下吧
```rust impl Future for JoinAll where F: Future, { type Output = Vec; fn poll(mut self: Pin, cx: &mut Context