Skip to content

Commit

Permalink
[jOOQ#5242] Pull up method to TableImpl, at least
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaseder committed May 24, 2016
1 parent e5982f6 commit d2b4ef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jOOQ/src/main/java/org/jooq/impl/TableImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ public Table<R> as(String as, String... fieldAliases) {
}
}

public Table<R> rename(String rename) {
return new TableImpl<R>(rename, getSchema());
}

/**
* Subclasses must override this method if they use the generic type
* parameter <R> for other types than {@link Record}
Expand Down

0 comments on commit d2b4ef6

Please sign in to comment.