IndexDeclaration

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

创建索引

针对唯一索引,目前不支持允许为空的列

Value parameters

name

index name

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