kx.isconnection

Verify whether connections to Kx Systems®, Inc. kdb+ databases are valid

Syntax

X = isconnection(K)

Arguments

K

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

Description

X = isconnection(K) returns X = 1 if the connection to theKx 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

kx.close, kx.fetch, kx.get, kx

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS