Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::Server::DBI:UserhContributed Perl DocuOpenXPKI::Server::DBI::Hash(3)

Name
       OpenXPKI::Server::DBI::Hash

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

perl v5.24.1			  2017-07-03	OpenXPKI::Server::DBI::Hash(3)

Name | Description | General Functions | SQL related Functions | See also

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Server::DBI::Hash&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help