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


Manual Reference Pages  -  OPENXPKI::SERVER::DBI::HASH (3)

.ds Aq ’

Name

OpenXPKI::Server::DBI::Hash

CONTENTS

Description

The Hash module of OpenXPKI::Server::DBI implements the hash interface of the database.

General Functions

    new

is the constructor. It needs at minimum SQL with an instance of OpenXPKI::Server::DBI::SQL.

SQL related Functions

    insert

inserts the columns which are found in the parameter HASH which is a hash reference into the table which is specififed with TABLE. The column TABLE_SERIAL is automatically set to HASH->{KEY} if it is not specified explicitly.

    update

updates the columns which are found in the parameter DATA which is a hash reference into the table which is specififed with TABLE. The column TABLE_SERIAL is automatically set to DATA->{KEY} if it is not specified explicitly. WHERE is a hash reference too and includes the filter of the update operation. All parameters are required. If WHERE is missing then we process one from the index of the table and the DATA parameter.

    select

implements an access method to the SQL select operation. Please look at OpenXPKI::Server::DBI::SQL to get an overview about the available query options.

The function returns a reference to an array of hashes or undef on error.

    __log_write_action

Parameters are TABLE, MODE and HASH. MODE is update or insert. HASH is the inserted or updated HASH which must include the index.

The function logs the write operations and creates or updates the entries in the dataexchange table.

Never call this function from outside the module. It is fully internal and highly critical for the whole infrastructure.

See also

OpenXPKI::Server::DBI::SQL and OpenXPKI::Server::DBI::Schema
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OPENXPKI::SERVER::DBI::HASH (3) 2016-04-03

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