Hello.
I have two HubDB tables - one for locations and one for buildings. Each table has its own properies and fields.
I need to print rows of the buildings table on a dynamic page for locations. Is there a way to print all content of the buildings table? Is there a way to print only a specified number of rows?
You can use a regular row for loop to print them.
{% for row in hubdb_table_rows(<tableId>, <filterQuery>) %}
{% endfor %}
If you want to print only certain rows depending on the page you would want to use a foreign id to link the two tables.
Alyssa Wilie
Web Developer
LyntonWeb
It helped, thank you!