<< DbFuzzyHasFMB SciDb DbFuzzyQuery >>

SciDb >> SciDb > DbFuzzyLoadFMB

DbFuzzyLoadFMB

loads a copy of FMB from database (if it exists in the database)

Calling Sequence

fuzzySQL = DbFuzzyLoadFMB(dbConnection)

Parameters

dbConnection

A pointer to database connection object

fuzzySQL

A pointer to a FuzzySQL object, which must be used for all fuzzy operations, including fuzzy queries and fuzzy objects manipulations

Description

DbFuzzyLoadFMB(...) Loads a local copy of FMB from database, if it exists in the database. Returns a pointer to FuzzySQL object, which may further be used for fuzzy queries and handling fuzzy objects. Whether the FMB exists in a database, may be checked using DbFuzzyHasFMB() function.

Examples

// Opens a “PostgreSQL” connection with a structure
connexionStruct          = struct();
connexionStruct.provider = "postgresql";
connexionStruct.database = "myDataBase";
connexionStruct.hostname = "127.0.0.1" ;
connexionStruct.use      = "myUsername";
connexionStruct.password = "myPassword";

DbConnect(connexionStruct);

//creating FuzzySQL object on default connection;
fuzzySQL = DbFuzzyLoadFMB();

See Also

Authors


Report an issue
<< DbFuzzyHasFMB SciDb DbFuzzyQuery >>