--- title: "Insert Items in Table" url: https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/cloud-scale/nosql/insert-items/ description: "Catalyst NoSQL is a fully-managed, powerful database that provides you with a non-relational, non-SQL means of data storage. This page describes the SDK methods to insert items in a NoSQL table in various ways." last_updated: 2026-09-08T11:07:33Z service: Cloud Scale type: general related_links: - name: "NoSQL" url: /en/cloud-scale/help/nosql/introduction - name: "Working with Data" url: /en/cloud-scale/help/nosql/working-with-data/introduction/ - name: "NoSQL API" url: /en/api/code-reference/cloud-scale/nosql/insert-item/#InsertNewItem --- # Insert Items in NoSQL Table > **Note:** This SDK is currently in deprecation. Migrate to [JavaScript SDK](https://docs.catalyst.zoho.com/en/sdk/javascript/v1/cloudscale/nosql/insert-items/) now. Catalyst enables you to insert items in a specific [NoSQL](https://docs.catalyst.zoho.com/en/cloud-scale/help/nosql/introduction/) table after you construct them. The items can be inserted in different ways as described in this section. You can refer to the help sections on adding and working with data, the [Catalyst custom JSON format](https://docs.catalyst.zoho.com/en/cloud-scale/help/nosql/working-with-data/introduction/#the-catalyst-custom-json-format), and the [supported data types](https://docs.catalyst.zoho.com/en/cloud-scale/help/nosql/working-with-data/introduction/#supported-data-types) to learn these topics in detail. > **Note:** Catalyst enables you to insert a maximum of 25 items in bulk in a NoSQL table with a single SDK operation. ### Insert Items without Conditions You can insert new items into a NoSQL table without any conditions by constructing the items in the Catalyst custom JSON format. This will require you to mandatorily pass the values for the [partition key and sort key](https://docs.catalyst.zoho.com/en/cloud-scale/help/nosql/components/#table-keys) attributes configured for the table. In the example given below, an item containing the value of the partition key attribute `fruitName` is provided as "Banana". Other attributes of the string data type such as `fruitColor` and `fruitType` are also added as a map called `fruitProperties`. The item is inserted using the `insertItems()` method. ```javascript // Insert a NoSQL item without conditions const plainInsert = await table.insertItems({ // Define the item to be inserted with the partition key fruitName item: NoSQLItem.from({ fruitName: 'Banana', //Provide values for the other attributes of the item fruitProperties: { fruitColor: 'Yellow', fruitType: 'Berries' } }), // Set the return value in the response. Other supported values are "OLD" and "NULL" return: NoSQLReturnValue.NEW }); ``` ### Insert Items with Conditional Functions You can insert attributes in existing items in a NoSQL table using specific conditions that you define in the Catalyst custom JSON format. In this type, the existing data of the table is retrieved and evaluated against the specified condition. The items are inserted only if the evaluation is true. If there is no existing data, the conditions are ignored and the items are inserted. Catalyst supports multiple operators to evaluate conditions. The supported operators are represented as shown below.
| Operators | Notation |
|---|---|
| CONTAINS | `contains` |
| NOT_CONTAINS | `not_contains` |
| BEGINS_WITH | `begins_with` |
| ENDS_WITH | `ends_with` |
| IN | `in` |
| NOT_IN | `not_in` |
| BETWEEN | `between` |
| NOT_BETWEEN | `not_between` |
| EQUALS | `equals` |
| NOT_EQUALS | `not_equals` |
| GREATER_THAN | `greater_than` |
| LESS_THAN | `less_than` |
| GREATER_THAN_OR_EQUALS | `greater_equal` |
| LESSER_THAN_OR_EQUALS | `less_equal` |
| AND | `AND` |
| OR | `OR` |