<< DbFuzzyCreateFMB SciDb DbFuzzyGet >>

SciDb >> SciDb > DbFuzzyDelete

DbFuzzyDelete

delete fuzzy object from local FMB

Calling Sequence

DbFuzzyDelete(fuzzySQL, objectType, objectIntId)
DbFuzzyDelete(fuzzySQL, objectType, objectStringId)
DbFuzzyDelete(fuzzySQL, objectType, objectIntId, ObjectStringId)
DbFuzzyDelete(fuzzySQL, objectType, objectIntId, ObjectIntId)

Parameters

fuzzySQL

FuzzySQL pointer object, returned by either DbFuzzyLoadFMB() or DbFuzzyCreateFMB() functions

objectIntId

Each object is retrieved from collection by it's identifier. These identifiers may be either integer id's or objects names (not for all objects). For exapmple, FuzzyTableInfo object can be returned by table id or by table name, FuzzyCol object can be retrieved by column id or by full column name (including table name). Some object require 2 identifiers: FuzzyNearnessDef - needs 2 column ids, FuzzyTableQuantifier - needs table id and quantifier name.

ObjectStringId

A strign fuzzy object identifer.

fuzzyObjectStruct

a struct, representing a fuzzy object with all same fields, which are stored in the database

Description

DbFuzzyDelete(...) Deletes a fuzzy object from a database by its id(s).

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

//Deleting a fuzzy column object
fuzCol = DbFuzzyDelete(fuzzySQL, 'FCL', 2);

See Also

Authors


Report an issue
<< DbFuzzyCreateFMB SciDb DbFuzzyGet >>