HarperFast / HarperFast/application-template

Table shows as undefined when creating schema via API

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When I attempt to insert a record into a defined table schema using the API, the table name is returned as `undefined`.

**Steps to Reproduce:**

1. Define the schema (see attached image).
2. Call the defined API (see attached image).
3. Execute the API request in Postman (screenshot attached).

**Expected Behavior:**
The table should be created under the correct schema with the provided table name.

**Actual Behavior:**
The table is shown as `undefined`.

**Environment:**

* HarperDB version: 4.5.8
* Installation method: `npm install -g harperdb@4.5.8`
* OS: Window 11

**Attachments:**

* Screenshot of schema definition
Image
* Screenshot of API definition
Image
* Screenshot of Postman API call
Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.