Creates a query() object from another object. This can be a convenient way to create queries.

to_query(x)

Arguments

x

An object to turn in to a query() object.

Value

A query object

Examples

to_query(account("TEST01AA"))
#> BrandsEye Query #> accounts: TEST01AA #> brands: TEST01AA:1[Your Brand Here], TEST01AA:2[Sibling Brand] #> timezones: Africa/Johannesburg