Scripts class

Properties

container
storedProcedures

Operations for creating new stored procedures, and reading/querying all stored procedures. For reading, replacing, or deleting an existing stored procedure, use .storedProcedure(id).

triggers

Operations for creating new triggers, and reading/querying all triggers. For reading, replacing, or deleting an existing trigger, use .trigger(id).

userDefinedFunctions

Operations for creating new user defined functions, and reading/querying all user defined functions. For reading, replacing, or deleting an existing user defined function, use .userDefinedFunction(id).

Methods

storedProcedure(string)

Used to read, replace, or delete a specific, existing <xref:StoredProcedure> by id. Use .storedProcedures for creating new stored procedures, or querying/reading all stored procedures.

trigger(string)

Used to read, replace, or delete a specific, existing <xref:Trigger> by id. Use .triggers for creating new triggers, or querying/reading all triggers.

userDefinedFunction(string)

Used to read, replace, or delete a specific, existing <xref:UserDefinedFunction> by id. Use .userDefinedFunctions for creating new user defined functions, or querying/reading all user defined functions.

Property Details

container

container: Container

Property Value

storedProcedures

Operations for creating new stored procedures, and reading/querying all stored procedures. For reading, replacing, or deleting an existing stored procedure, use .storedProcedure(id).

StoredProcedures storedProcedures

Property Value

triggers

Operations for creating new triggers, and reading/querying all triggers. For reading, replacing, or deleting an existing trigger, use .trigger(id).

Triggers triggers

Property Value

userDefinedFunctions

Operations for creating new user defined functions, and reading/querying all user defined functions. For reading, replacing, or deleting an existing user defined function, use .userDefinedFunction(id).

UserDefinedFunctions userDefinedFunctions

Property Value

Method Details

storedProcedure(string)

Used to read, replace, or delete a specific, existing <xref:StoredProcedure> by id. Use .storedProcedures for creating new stored procedures, or querying/reading all stored procedures.

function storedProcedure(id: string)

Parameters

id

string

The id of the <xref:StoredProcedure>.

Returns

trigger(string)

Used to read, replace, or delete a specific, existing <xref:Trigger> by id. Use .triggers for creating new triggers, or querying/reading all triggers.

function trigger(id: string)

Parameters

id

string

The id of the <xref:Trigger>.

Returns

userDefinedFunction(string)

Used to read, replace, or delete a specific, existing <xref:UserDefinedFunction> by id. Use .userDefinedFunctions for creating new user defined functions, or querying/reading all user defined functions.

function userDefinedFunction(id: string)

Parameters

id

string

The id of the <xref:UserDefinedFunction>.

Returns