Class: Rubernate::DBI::PgPKChunkFactory
- Inherits:
-
PKChunkFactory
- Object
- PKChunkFactory
- Rubernate::DBI::PgPKChunkFactory
- Defined in:
- lib/rubernate/impl/dbi_pg.rb
Constant Summary collapse
- SELECT_NEXT_PK =
<<-SQL SELECT NEXTVAL('R_PK_SEQUENCE') SQL
Constants inherited from PKChunkFactory
Rubernate::DBI::PKChunkFactory::PK_CHUNCK_SIZE
Instance Method Summary collapse
-
#initialize ⇒ PgPKChunkFactory
constructor
A new instance of PgPKChunkFactory.
Methods inherited from PKChunkFactory
Constructor Details
#initialize ⇒ PgPKChunkFactory
Returns a new instance of PgPKChunkFactory.
10 11 12 |
# File 'lib/rubernate/impl/dbi_pg.rb', line 10 def initialize @get_from_seq = SELECT_NEXT_PK end |