java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.runtime.components.jdbc.DBInfo

@BoxComponent(allowsBody=false) public class DBInfo extends Component
  • Constructor Details

    • DBInfo

      public DBInfo()
      Constructor
  • Method Details

    • _invoke

      public Component.BodyResult _invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState)
      Retrieve database metadata for a given datasource. This can include: column metadata, database names, table names, foreign keys, index info, stored procedures, and version info.

      Please note that the type attribute is required, and the name attribute is required to store the result.

      Specified by:
      _invoke in class Component
      Parameters:
      context - The context in which the Component is being invoked
      attributes - The attributes to the Component
      body - The body of the Component
      executionState - The execution state of the Component
      Returns:
      The result of the invocation