I have an external database collection. I want to display data from that collection based on the hashtags added in the post. I know that the hashtags added in the post are added to the Blogs database.
- Is it possible to connect and query another database using wixData, for example if I have two databases: Database1 and Database2
export function Database1$Collection1_beforeQuery(query, context) {
//TODO: write your code here…
// here I can access data from Database1 but not Database2
//wixData.query(“Collection1”…
//} );
return query;
} - How to get current post data? that is I want the current post hashtags.