nested sets - What does node mean in MySQL? -
Can anyone explain the meaning of nodes in MySQL?
This is talking about a nested set.
I am reading a document from Codeigniter's wiki and I'm not sure what to include in my $ node. GetSubTreeAsHTML (line 704) presents the field for each node Return to the given node *: GetSubTreeAsHTML (array $ node, [array $ field = Array ()]) * array $ node: * node to start from array $ field: node to display for each field
You are part of the code you are looking at. Full code of the function.
In this case the "node" refers to the data node. Nested sets are good because they allow you to select a whole branch of hierarchy with only the start node.
It seems that the function specifies that a tree part of HTML starts with the node you specify. The backendpro interface has to give hierarchical data somewhere.
Edit : The nested set not is a MySQL-concept, but there is a good article about Nested and MySQL here:
Comments
Post a Comment