1Workflow::Persister::DBUIs:e:rSeCqounetnrciebIudt(e3d)PWeorrlkfDloocwu:m:ePnetrastiisotner::DBI::SequenceId(3)
2
3
4

NAME

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

VERSION

10       This documentation describes version 1.60 of this package
11

SYNOPSIS

13        <persister
14            name="MyPersister"
15            workflow_sequence="wf_seq"
16            history_sequence="wf_history_seq"
17        ...
18

DESCRIPTION

20       Implementation for DBI persister to fetch an ID value from a sequence.
21
22   Properties
23       sequence_name
24
25       Name of the sequence to select the next id value from.
26
27       sequence_select
28
29       "sprintf" template string with a single placeholder (%s) used to
30       interpolate the sequence name. The resulting string is used as the SQL
31       statement to retrieve the next sequence value.
32
33   ATTRIBUTES
34       log
35
36       Contains the logger object associated with this instance.
37
38   METHODS
39       new ( \%params )
40
41       This method instantiates a class for retrieval of sequence ids from a
42       DBI based persistance entity.
43
44       It takes a hashref containing keys matching the properties outlines in
45       the section above or throws Workflow::Exceptions if these are not
46       defined.
47
48       Returns instantiated object upon success.
49
50       pre_fetch_id
51
52       Returns a unique sequence id from a database.
53
54       Takes a single parameter, a DBI database handle.
55
56       Returns a single value, a integer representing a sequence id from the
57       provided database handle.
58
59       post_fetch_id
60
61       This is a dummy method, use "pre_fetch_id"
62
64       Copyright (c) 2003-2022 Chris Winters. All rights reserved.
65
66       This library is free software; you can redistribute it and/or modify it
67       under the same terms as Perl itself.
68
69       Please see the LICENSE
70

AUTHORS

72       Please see Workflow
73
74
75
76perl v5.36.0                      2022-0W7o-r2k2flow::Persister::DBI::SequenceId(3)
Impressum