isconnection

Determine if connections to Kx Systems, Inc. kdb+ databases are valid

Syntax

x = isconnection(k)

Arguments

k

Kx Systems®, Inc. kdb+ connection object created with kx.

Description

x = isconnection(k) returns x = 1 if the connection to the Kx Systems, Inc. kdb+ database is valid, and x = 0 otherwise.

Examples

Establish a connection to a Kx Systems, Inc. kdb+ database, k:

k = kx('localhost',5001);

Verify that k is a valid connection:

x = isconnection(k)
x = 1

See Also

| | |

Was this topic helpful?