Asdine El Hrychy
Asdine El Hrychy
I have tried to improve the Encode part with this: ``` go // Package gob contains a codec to encode and decode entities in Gob format package gob import (...
This is a great idea but i can't imagine how it would be used
Talking about streams, it may be interesting to have something like: ``` go db.SetReader("mybucket", "mykey", r.Body) db.GetReader("mybucket", "mykey", w) ``` `GetReader` would be less interesting though since `bucket.Get` returns a...
You're right, the only problem i see here is that using `Save` wouldn't work as the bucket name is still missing. `db.Set()` seems like a good fit for maps
The other issue is that we are limited to `map[string]interface{}`. It's the only data structure that matches the current API and that is the map equivalent of a struct.
This issue requires a lot of work because for now Storm is too dependant on Structs. The only solution i see it to work with `Set` and `Get` and make...
Can you describe what problems you experienced with numeric indexes and primary keys please? I think it is better to fix these instead of trying to find another solution. Having...
I understand the need of the interface for all the custom indexing
Actually, `Save` is idempotent, there is no concept of update or insert, the `Save` method always overwrites the slot specified by the ID, whether this slot is empty or not....
> This implies the WHERE clause too. Good point, anywhere an expression is used in the SELECT statement (WHERE, GROUP BY, etc.)