Exemplo n.º 1
0
 /**
  * Returns an array of EOSQLExpressions for creating this column.
  *
  * @return an array of EOSQLExpressions for creating this column
  */
 @SuppressWarnings("unchecked")
 public NSArray<EOSQLExpression> _createExpressions() {
   EOSchemaSynchronization schemaSynchronization = _table.database().synchronizationFactory();
   NSArray<EOSQLExpression> expressions =
       schemaSynchronization.statementsToInsertColumnForAttribute(
           _newAttribute(), (NSDictionary<String, String>) NSDictionary.EmptyDictionary);
   ERXMigrationDatabase._ensureNotEmpty(expressions, "add column", true);
   return expressions;
 }