lastId implementation for Postgres
lastId implementation for Postgres
This commit is contained in:
parent
72de4aa303
commit
7f41e2ed43
@ -1778,6 +1778,10 @@ public class DefaultDSLContext extends AbstractScope implements DSLContext, Seri
|
||||
return select(field).fetchOne(field);
|
||||
}
|
||||
|
||||
case POSTGRES: {
|
||||
Field<BigInteger> field = field("lastval()", BigInteger.class);
|
||||
return select(field).fetchOne(field);
|
||||
}
|
||||
/* [pro] xx
|
||||
xxxx xxxxxxxxx x
|
||||
xxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxx xxxxxxxxx xxxxx xxxxx x xxxx xxxxxxxxxxxxxxxxxx
|
||||
|
||||
Loading…
Reference in New Issue
Block a user