@@ -297,6 +297,7 @@ class __libcore BaseObject {
297297 /* ! \brief This version, called inside updateDependencies(), just run through the provided
298298 * dep_objs list and sets the dependency link between the "this" object and the items
299299 * in the list. Additionally, a list of dependencies that must be undone can be provided.
300+ * This method clears the old dependencies by default if old_deps is empty.
300301 *
301302 * The dependency link breaking operation made using old_deps runs first before creating the
302303 * dependency link using the objects in dep_objs.
@@ -683,9 +684,15 @@ class __libcore BaseObject {
683684 bool isDependingOn (BaseObject *dep_obj);
684685
685686 /* ! \brief Updates the dependencies list based upon the current relationship between
686- * the "this" object and its dependencies. NOTE: this method must be called only in specific
687- * points of the code (currently only in the operator = due to the need in OperationList class )
688- * because it can be expensive in terms of processing if lots of objects calls it */
687+ * the "this" object and its dependencies. This method clears the old dependencies
688+ * relationships and creates other ones.
689+ *
690+ * NOTE: this version of the method only produces a dependency relationship between the
691+ * schema, tablespace, owner and collation. Derived classes must reimplement thi one and include
692+ * other dependency objects, e.g., data types, functions, and etc.
693+ *
694+ * NOTE: this method must be called only in specific points of the code because it can be expensive
695+ * in terms of processing if lots of objects calls it. */
689696 virtual void updateDependencies ();
690697
691698 friend class DatabaseModel ;
0 commit comments