1

I have a dynamo db having table with column names url, data, date and entity

    url                       data                    date                    entity
 https://www.google.com     search engine             21-09-2021                Website

I am trying to access the values in data column by using values in url column as search tag. How it can be done.

1 Answer 1

2

Could you please let me know are you using this way?

    import boto3
    from boto3.dynamodb.conditions import Key
    response = table.query(
      KeyConditionExpression=Key('url').eq('https://www.google.com')
    )
    print(response['data'])
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.