Sign in Join
FPDoc Onlineexperiment

TSQLConnection.GetObjectNames function

Member of TSQLConnectionpublicIn unit SQLDB

Return a collection of object names for a given type of object.

Declaration

pascal
function GetObjectNames(ASchemaType: TSchemaType; 
 AList: TSqlObjectIdentifierList): Integer
 ; virtual

Arguments

ASchemaType

Type of object to return.

AList

List in which to return the object names.

Function result

Number of found objects.

Description

GetObjectNames returns all the names of objects of a given type ASchemaType in the database, and returns the number of found objects as a result. The object names are placed in the collection AList.

The collection is not cleared.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.