add multi unique support

添加多个unique index支持,调整unique接口名。
FetchUniqueBy[xxx]
This commit is contained in:
谢小军
2020-06-16 17:51:58 +08:00
parent 2b63b9f7ce
commit 19b39a0b41
4 changed files with 10 additions and 6 deletions

View File

@@ -57,6 +57,6 @@
### Index access
`FetchByPrimaryKey` : Primary key acquisition
`FetchByUnique` : Get by unique index
`FetchUniqueBy[xxx]` : Get by unique index
`FetchIndexBy[xxx]` : Composite index fetch (multiple returned)
`FetchUniqueIndexBy[xxx]` : Unique composite index fetch (return one)

View File

@@ -53,6 +53,6 @@
### 索引方式获取
`FetchByPrimaryKey` : 主键获取
`FetchByUnique` : 唯一索引方式获取
`FetchUniqueBy[xxx]` : 唯一索引方式获取
`FetchIndexBy[xxx]` : 复合索引获取(返回多个)
`FetchUniqueIndexBy[xxx]` : 唯一复合索引获取(返回一个)