是否可以在 dynamodb 查询的排序键中使用正则表达式?

Is possible to use regex in Sort Key on a on dynamodb query?

我想做这样的查询

val dynamoDB = DynamoDB(dynamoDBConfig.amazonDynamoDB()) val table: Table = dynamoDB.getTable("音乐")

    val spec = QuerySpec()
            .withKeyConditionExpression("artist = :_artist and begins_with(title, :_title)")
            .withValueMap(ValueMap()
                    .withString(":_artist", "Guns n' Roses")
                    .withString(":_title", "*to the Jungle")
            )

这会生成一个音乐列表,其中包含标题为“Welcome to the Juntle”的音乐

不,Key Condition Expression 不支持正则表达式。