<< DbFuzzyUpdateCreate SciDb DbFuzzyDelete >>

SciDb >> SciDb > DbFuzzyCreateFMB

DbFuzzyCreateFMB

creates a copy of fuzzy meta base on a database

Calling Sequence

fuzzySQL = DbFuzzyCreateFMB(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

DbFuzzyCreateFMB(...) Creates a set of tables in database, that represent a Fuzzy Meta Base and a set of procedues (functions) that implement fuzzy math operations. All fuzzy operations, including fuzzy queries and manipulations with fuzzy objects are done not with a connection object but with a FuzzySQL object, that incapsulates a connection to a database and local copy of Fuzzy Meta Base.

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 = DbFuzzyCreateFMB();

See Also

Authors


Report an issue
<< DbFuzzyUpdateCreate SciDb DbFuzzyDelete >>