Returning a link to a file?

I’m creating a table that has a filtering search box to only return a subset of a data collection. In my data collection, I have files uploaded that I’d like to link to, but I’m not seeing how to add that link into the table.

Any thoughts greatly appreciated.

import wixData from “wix-data”;

export function button1_click(event, $w) {
wixData.query(“Test”)
.contains(‘full_text’, $w(‘#input1’).value)
.find()
.then(res => {
$w(‘#table1’).rows = res.items;
});
}

Hi!

This IS tough question, and it’s not described detailed enough in documentation, but it actually exist there)

This sectilon -
Set the columns, data, and links for a table

In 2 words, you should describe table with column propery and set “linkpath” to the name of the field which will describe links

Go through that example and ask questions if needed