:Operatör VEYA dinamo sorguda böyle aws-sdk ve 'OR' operatörü ile bir sorgu yapmaya çalışıyorum
{ [ValidationException: Invalid operator used in KeyConditionExpression: OR]
message: 'Invalid operator used in KeyConditionExpression: OR',
code: 'ValidationException',
time: Mon Apr 04 2016 11:36:22 GMT+0200 (Paris, Madrid (heure d’été)),
requestId: '827M149G5IMJ1BPM4J883DMCJNVV4KQNSO5AEMVJF66Q9ASUAAJG',
statusCode: 400,
retryable: false,
retryDelay: 0 }
Ben:
{ TableName: 'Movies',
KeyConditionExpression: '#year = :year or #title = :title',
ExpressionAttributeNames: { '#year': 'year', '#title': 'title' },
ExpressionAttributeValues: { ':year': 1985, ':title': 'The Breakfast Club' } }
Ve bu olsun standart amazon dinamo örnek veri dosyasını kullanarak m (Movies, here) -
Sorularım, Dinamo sorgusu için 'VEYA' operatörünü nasıl kullanabilirim?
Teşekkür :)