|
NameOpenXPKI::Server::Database::Legacy - Compatibility functions for the old database layercertificate_to_legacyConverts the keys of the given data hash from SQL attribute names to legacy attribute names.Parameters:
certificate_from_legacyConverts the keys of the given data hash from legacy attributes names to SQL attributes.Parameters:
workflow_to_legacyConverts the keys of the given data hash from SQL attribute names to legacy attribute names.Parameters:
csr_to_legacyConverts the keys of the given data hash from SQL attribute names to legacy attribute names.Parameters:
convert_dynamic_condConverts 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 ] }
Visit the GSP FreeBSD Man Page Interface. |