GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Workflow::Persister::DBI::SequenceId(3) User Contributed Perl Documentation Workflow::Persister::DBI::SequenceId(3)

Workflow::Persister::DBI::SequenceId - Persister to fetch ID from a sequence

This documentation describes version 1.60 of this package

 <persister
     name="MyPersister"
     workflow_sequence="wf_seq"
     history_sequence="wf_history_seq"
 ...

Implementation for DBI persister to fetch an ID value from a sequence.

sequence_name

Name of the sequence to select the next id value from.

sequence_select

"sprintf" template string with a single placeholder (%s) used to interpolate the sequence name. The resulting string is used as the SQL statement to retrieve the next sequence value.

log

Contains the logger object associated with this instance.

new ( \%params )

This method instantiates a class for retrieval of sequence ids from a DBI based persistance entity.

It takes a hashref containing keys matching the properties outlines in the section above or throws Workflow::Exceptions if these are not defined.

Returns instantiated object upon success.

pre_fetch_id

Returns a unique sequence id from a database.

Takes a single parameter, a DBI database handle.

Returns a single value, a integer representing a sequence id from the provided database handle.

post_fetch_id

This is a dummy method, use "pre_fetch_id"

Copyright (c) 2003-2022 Chris Winters. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Please see the LICENSE

Please see Workflow
2022-03-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.