使用 boto3.dynamodb.condition.Key 的 begins_with 方法过滤结果的最佳方法是什么?
import boto3
from boto3.dynamodb.conditions import Key
dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table('MyTable')
response = table.query(KeyConditionExpression=Key('myPrimaryKey').begins_with('americas'))
Run Code Online (Sandbox Code Playgroud)
结果虽然条件支持begins_with,但是查询不支持。不能在主键或排序键上使用begins_with吗?