You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add code-defined database queries for complex prefill sources
- Add database_query_key field to PrefillSource model
- Add execute_custom_query method to DatabaseDataSource
- Support dbquery.* prefix in prefill sources
- Queries defined in settings.FORMS_WORKFLOWS_DATABASE_QUERIES
- Enables complex SQL (JOINs, multiple WHERE conditions) without SQL injection concerns
- Add migration 0013_add_database_query_key
- Bump version to 0.7.7
help_text="Key from FORMS_WORKFLOWS_DATABASE_QUERIES setting. Use this for complex queries (JOINs, additional WHERE conditions). Takes precedence over db_schema/db_table/db_column fields.",
0 commit comments