Tags_Multi_Tenant v0.4.1 Tags_Multi_Tenant.Tags_Multi_TenantQuery View Source

Allow to build essential ecto queries for taglet

All this functions only should be used from Tags_Multi_Tenant module

Link to this section Summary

Functions

Build the query to search tagged resources

Build the query to search tags in a specific context, struct or module

Link to this section Functions

Link to this function search_tagged_with(query, tags, context, taggable_type) View Source

Build the query to search tagged resources

Link to this function search_tags(context, taggable_type, taggable_id \\ nil) View Source

Build the query to search tags in a specific context, struct or module