IndexDeclaration

org.beangle.data.orm.MappingModule$.IndexDeclaration
class IndexDeclaration(name: String, unique: Boolean)

创建索引

针对唯一索引,目前不支持空列

Attributes

name

indexname

unique

unique index

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(holder: EntityHolder[_], pms: Iterable[OrmProperty]): Unit