标签: c# couchbase couchbase-view couchbase-sync-gateway
当我们使用select query从couchbase服务器获取记录时,不获取每条记录的id
我的代码如下。我错过了什么
CREATE
我想要更新记录的ID
答案 0 :(得分:1)
您需要使用meta函数返回ID
select meta(tb).id, tb.* from testbucket tb