Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / SYS.DataCheck.LocalDatabase
Private  Storage   

SYS.DataCheck.LocalDatabase


datatype class SYS.DataCheck.LocalDatabase extends
%String

ODBC Type: VARCHAR

A local database specification. It takes one of the following forms

  • A physical path local to this system
  • Mirror Database Name of the form :mirror:mirrorname:mirrorDBname for mirror-based DataCheck.
  • Inventory


    Parameters Properties Methods Queries Indices ForeignKeys Triggers
    1 5


    Summary


    Methods
    DisplayToLogical IsValid JSONToLogical LogicalToDisplay
    LogicalToJSON LogicalToOdbc LogicalToXSD XSDToLogical


    Parameters


    • parameter COLLATION = "EXACT";
    The default collation value used for this data type. Note that if you specify a truncation length and also a VALUELIST then your truncation length must be longer or equal to your longest VALUELIST value

    Methods


    • classmethod IsValid(%val As %RawString) as %Status
    Tests if the logical value %val, which is a string, is valid. The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MINLEN, MAXLEN, VALUELIST, and PATTERN.