我正在尝试为我的收藏添加一个唯一的索引。 我正在编写代码:
conn = Connection()
db = conn['textBook']
db['Users'].ensureHashIndex('word', unique = True);
有“现有的数据库”和“现有的”数据库
在pyArango.theExceptions.CreationError:参数错误。错误:{u'errorMessage':u'bad parameter',u'errorNum':10,u'code':400,u'error':True}
在函数\u create(raise CreationError(data['errorMessage',data))中创建索引时发生此错误
哪些参数不正确?在
您需要在列表中提供字段,请尝试以下操作:
相关问题 更多 >
编程相关推荐