Skip to content

Conversation

@johansja
Copy link

@johansja johansja commented Nov 12, 2025

Description

Support MySQL state store in dapr workflow list

Issue reference

#1568

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@johansja johansja requested review from a team as code owners November 12, 2025 02:43

func ListSQL(ctx context.Context, db *sql.DB, table string, opts ListOptions) ([]string, error) {
query := fmt.Sprintf(`SELECT key FROM "%s" WHERE key LIKE ?;`, table)
query := fmt.Sprintf("SELECT `id` FROM `%s` WHERE `id` LIKE ?;", table)
Copy link
Author

@johansja johansja Nov 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is very likely that this line will break other state store. I just modify this based on what I am seeing from MySQL database that I'm currently seeing.

@dapr-bot
Copy link
Collaborator

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@dapr-bot dapr-bot added the stale label Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants