DeleteColumn
public
abstract
@interface
DeleteColumn
implements
Annotation
| androidx.room.DeleteColumn |
Repeatable annotation declaring the deleted columns in the AutoMigration.to() version of
an auto migration.
See also:
Summary
Nested classes | |
|---|---|
@interface |
DeleteColumn.Entries
Container annotation for the repeatable annotation |
Public methods | |
|---|---|
String
|
columnName()
Name of the column deleted in the |
String
|
tableName()
Name of the table in the |
Inherited methods | |
|---|---|
Public methods
columnName
public String columnName ()
Name of the column deleted in the AutoMigration.to() version of the database.
| Returns | |
|---|---|
String |
Name of the column. |
tableName
public String tableName ()
Name of the table in the AutoMigration.from() version of the database the column was
deleted from.
| Returns | |
|---|---|
String |
Name of the table |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-04-21 UTC.