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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant