This pull request adds a new async function called get_data_from_many_fields_async to retrieve data from multiple fields in the database. This function takes an async session, a model, an agency ID, and optional fields as parameters. It executes a query to retrieve the data based on the provided fields and caches the result in Redis. The function also converts the WKBElement to a serializable format.
This pull request adds a new async function called
get_data_from_many_fields_async
to retrieve data from multiple fields in the database. This function takes an async session, a model, an agency ID, and optional fields as parameters. It executes a query to retrieve the data based on the provided fields and caches the result in Redis. The function also converts the WKBElement to a serializable format.