Jun-16-2018, 08:58 AM
A table is a class, and as such it has methods (method = function belonging to a class, if you haven't touched OOP part of the story yet, you will understand very well when you get there), such as "column".
If nacho_table wasn't a table, and thus not have "column" method, you would get an error.
This has probably happened to you before, if you tried to do arithmetic operations on "non-compatible" operands, or used some function on a data type, for which it isn't defined.
If nacho_table wasn't a table, and thus not have "column" method, you would get an error.
This has probably happened to you before, if you tried to do arithmetic operations on "non-compatible" operands, or used some function on a data type, for which it isn't defined.