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
OpenXPKI::Server::Database::Legacy(3) User Contributed Perl Documentation OpenXPKI::Server::Database::Legacy(3)

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

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

Parameters:

$db_hash database hash whose keys are to be converted

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

Parameters:

$db_hash database hash whose keys are to be converted

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

Parameters:

  • $db_hash database hash whose keys are to be converted
  • $prefix_table optional: set to 1 to prefix field names with table name

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

Parameters:

  • $db_hash database hash whose keys are to be converted
  • $prefix_table optional: set to 1 to prefix field names with table name

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 ] }
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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