sqldata/sqlapibase.cpp
// Build a condition to select objects from the catalog and exclude from selection
Build a condition to select objects from the catalog and exclude from selection
Build a condition to select objects from the catalog and exclude from selection
void SqlApiBase::GetSelectionCriteria(const char *select, const char *exclude, const char *schema, 
					const char *object, std::string &output, const char *default_schema, bool upper_case)
{
	std::string sel, excl;
	GetSelectionCriteria(select, schema, object, sel, default_schema, upper_case);
	output += sel;
	GetSelectionCriteria(exclude, schema, object, excl, default_schema, upper_case);
	if(excl.empty() == false)
	{
		if(sel.empty() == false)
			output += " AND";
		output += " NOT (";
		output += excl;
		output += ")";
	}
}
void SqlApiBase :: GetSelectionCriteria ( const char * select , const char * exclude , const char * schema , const char * object , std :: string & output , const char * default_schema , bool upper_case ) { std :: string sel , excl ; GetSelectionCriteria ( select , schema , object , sel , default_schema , upper_case ) ; output += sel ; GetSelectionCriteria ( exclude , schema , object , excl , default_schema , upper_case ) ; if ( excl . empty ( ) == false ) { if ( sel . empty ( ) == false ) output += " " ; output += " " ; output += excl ; output += " " ; } }
Build a condition to select objects from the catalog and exclude from selection
Build a condition to select objects from the catalog and exclude from selection
// Get a condition to select objects from the catalog // Get a condition to exclude object 