appsmithorg / appsmithorg/appsmith

[Feature] Firestore DB needs additional API support to ingest certain data types / formats

Open
#7,176 9 comments 1 reaction 0 assignees View on GitHub
Community Reported Enhancement Firestore High Integrations Product Needs Triaging Query & JS Pod Query Widgets & IDE Pod
Dominant language
TypeScript
Stars
40.9k
Forks
4.8k
Avg merge
1d 22h
Merged PRs (30d)
45

Description

## Description

When the user tries to use unix time stamp `moment(EventAddStartDatePicker.selectedDate).unix()` in the firestore API, the DB treats is as a map instead of timestamp. Instead when the user tries to use the firestore wrapper to do so, the function works properly `admin.firestore.Timestamp(moment(EventAddStartDatePicker.selectedDate).unix(), 0)`

The user wants support for the Firestore fields such as references, geocoordinates, etc.

![CleanShot_2021-09-06_at_16 04 282x](https://user-images.githubusercontent.com/11089579/132244613-6018a3bf-e5db-444c-9774-6ce4b58e09b6.png)
![CleanShot_2021-09-06_at_16 02 292x](https://user-images.githubusercontent.com/11089579/132244601-cbf02026-4180-4c22-967e-1f7b46eb0c8d.png)

### Important Details

- Version: [Cloud / Self-Hosted vx.x]
- OS: [e.g.MacOSX]
- Browser [e.g. chrome, safari]
- Environment [production, release, deploy preview]

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.