IndexDeclaration

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

创建索引

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

Value parameters

name

indexname

unique

unique index

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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