compare


Description:

[ Version ( since = "6.0" ) ]
public int compare (DbBase b)

Compares two objects similar to g_strcmp.

In general, catalog and schema can be null. In this case those pairs are ignored. If we represent a full name as catalog.schema.name then two objects null.null.customer and main.main.customer are identical.

Parameters:

this

first DbBase object

b

second DbBase object

Returns:

0 if two objects are identical or -1 or 1 otherwise.