在aerospike中,https://godoc.org/github.com/aerospike/aerospike-client-go#ListAppendOp操作可以与client.Operate方法一起使用以附加到列表中。有没有办法将Prepend添加到列表中?如何使用golang在aerospike中添加列表?
http://www.aerospike.com/docs/guide/cdt-list.html#development-guidelines-and-tips确实提到插入可以发生在列表的任何一端。但是找不到合适的API来做同样的事情。任何帮助?
好的。找到https://godoc.org/github.com/aerospike/aerospike-client-go#ListInsertOp并使用0作为索引...但不知道这将如何工作的邮件列表 – Crusaderpyro