# Introduction

�A DynamoDB client which provides an easy to use fluent api to execute requests. It supports typescript decorators, to define the necessary metadata for your models. You don't need to care about the mapping of javascript types to their dynamo types any more. We got you covered.

{% code title="person.model.ts" %}

```typescript
import { Model, PartitionKey } from '@shiftcoders/dynamo-easy'

@Model()
export class Person {
  @PartitionKey()
  id: string
  name: string
  yearOfBirth: number
}

```

{% endcode %}

{% code title="looks-easy-right.snippet.ts" %}

```typescript
import { DynamoStore } from '@shiftcoders/dynamo-easy'
import { Person } from './models'

const personStore = new DynamoStore(Person)

personStore
  .scan()
  .whereAttribute('yearOfBirth').equals(1958)
  .exec()
  .then(res => console.log('ALL items with yearOfBirth == 1958', res))
```

{% endcode %}

{% hint style="info" %}
The library does not provide any operation to manage a table (API operations like 'createTable', 'describeTable', and more operations described [here](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.Basics.html))
{% endhint %}

{% hint style="info" %}
Are you missing some information or found some wrong description? Please feel free to open an issue on our [github repo](https://github.com/shiftcode/dynamo-easy/issues).
{% endhint %}

## Developed with :heart: by [shiftcode.ch](https://www.shiftcode.ch)<img src="https://3917641768-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVwl0DaP3nICLR8V49z%2F-LYS4i9TVoamQChZFTx-%2F-LYS8Xy-ofhqP2phs7Ky%2Flogo_only.png?alt=media&#x26;token=3c18c60e-fa33-4fdd-9f56-ecaa37a9c2b1" alt="" data-size="line">&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://shiftcode.gitbook.io/dynamo-easy/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
