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

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::Server::DataUser:Contributed PeOpenXPKI::Server::Database::Legacy(3)

Name
       OpenXPKI::Server::Database::Legacy - Compatibility functions for	the
       old database layer

   certificate_to_legacy
       Converts	the keys of the	given data hash	from SQL attribute names to
       legacy attribute	names.

       Parameters:

       o   $db_hash database hash whose	keys are to be converted

   certificate_from_legacy
       Converts	the keys of the	given data hash	from legacy attributes names
       to SQL attributes.

       Parameters:

       o   $db_hash database hash whose	keys are to be converted

   workflow_to_legacy
       Converts	the keys of the	given data hash	from SQL attribute names to
       legacy attribute	names.

       Parameters:

       o   $db_hash database hash whose	keys are to be converted

       o   $prefix_table optional: set to 1 to prefix field names with table
	   name

   csr_to_legacy
       Converts	the keys of the	given data hash	from SQL attribute names to
       legacy attribute	names.

       Parameters:

       o   $db_hash database hash whose	keys are to be converted

       o   $prefix_table optional: set to 1 to prefix field names with table
	   name

   convert_dynamic_cond
       Converts	a dynamic condition in the old DB layer	syntax to a condition
       of the new DB layer. This method	does NOT convert while WHERE clauses,
       only single column conditions.

	   $legacy->convert_dynamic_cond(
		{ OPERATOR => "BETWEEN", VALUE => [ 2147483647,	2147485321 ] }
	   )
	   # results in:
	   #	 { -between => [ 2147483647, 2147485321	] }

perl v5.32.0			  2020-08OpenXPKI::Server::Database::Legacy(3)

Name

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

home | help