[#818] Add SQLiteFactory.rowid()
This commit is contained in:
parent
b27a71f8fa
commit
2009f7b97a
@ -37,6 +37,7 @@ package org.jooq.util.sqlite;
|
||||
|
||||
import java.sql.Connection;
|
||||
|
||||
import org.jooq.Field;
|
||||
import org.jooq.SQLDialect;
|
||||
import org.jooq.SchemaMapping;
|
||||
import org.jooq.impl.Factory;
|
||||
@ -74,4 +75,15 @@ public class SQLiteFactory extends Factory {
|
||||
public SQLiteFactory(Connection connection) {
|
||||
super(connection, SQLDialect.SQLITE);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// General pseudo-columns
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Retrieve the SQLite-specific <code>ROWID</code> pseudo-field
|
||||
*/
|
||||
public final Field<Long> rowid() {
|
||||
return field("rowid", Long.class);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user