Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8792723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:01:09+00:00 2026-06-13T23:01:09+00:00

Is there an option in DynammoDB to store auto incremented ID as primary key

  • 0

Is there an option in DynammoDB to store auto incremented ID as primary key in tables? I also need to store the server time in tables as the “created at” fields (eg., user create at). But I don’t find any way to get server time from DynamoDB or any other AWS services.

Can you guys help me with,

  1. Working with auto incremented IDs in DyanmoDB tables
  2. Storing server time in tables for “created at” like fields.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:01:10+00:00Added an answer on June 13, 2026 at 11:01 pm

    Actually, there are very few features in DynamoDB and this is precisely its main strength. Simplicity.

    • There are no way automatically generate IDs nor UUIDs.
    • There are no way to auto-generate a date

    For the “date” problem, it should be easy to generate it on the client side. May I suggest you to use the ISO 8601 date format ? It’s both programmer and computer friendly.

    Most of the time, there is a better way than using automatic IDs for Items. This is often a bad habit taken from the SQL or MongoDB world. For instance, an e-mail or a login will make a perfect ID for a user. But I know there are specific cases where IDs might be useful.

    In these cases, you need to build your own system. In this SO answer and this article from DynamoDB-Mapper documentation, I explain how to do it. I hope it helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any option to set a routing key at message level in Apache
Is there an option or an addin for Team Foundation Server that will enable
Is there an option in PHP to sort an array by key value descending?
is there an option in OData/EF to limit the fields a user can perform
is there any option to sendmail linux command on particular time . I want
Using django comments framework http://docs.djangoproject.com/en/dev/ref/contrib/comments/ Not sure is there option, to make all comments
Is there any option to tell gs to convert strokes to fills? Something similar
Is there an option to show the full command when using an alias? Example:
Is there an option for the curl command to show only a percentage output
is there an option how to disable that #if, #endif and other directives are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.