-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃殌 Feature: Support for JSON and Datetime as attribute and visualizer for creating relations in the database !! #3018
Comments
Regarding date time, we have been recently discussing such an attribute type, alongside I will see what we can do about JSON. What would be the difference between a JSON attribute and a Interesting idea about visualizing relations. We currently don't support native relations, but you can store IDs in string attributes. We do have a plan to add relations in the figure, but no ETA yet. Adding visualizer into Console is a cool idea tho, might be a great iteration. |
That's great 馃憤 !! thanks |
I can confirm we are now planning attributes that would support dates 馃コ With that, a plan to introduce automatic |
The DateTime Attribute got implemented and released with Appwrite 1.0.0 馃コ Thank you for your contribution 馃檹馃徎 You can read more here. |
Dear @TorstenDittmann , |
+1 |
Not storing JSON is a huge omission, IMHO. Yes you can stringify as save, as @Meldiron mentioned, but since you have to set a max string length in your collection design and objects/arrays are flexible structures, knowing how long that string might be is very difficult. |
Exactly what I thought when I wanted to store maps coordinates for an event. I think JSON feature is really needed! |
+1 |
please re-open this, we should discuss more on this. |
Looks like they ignore it. |
I would set the max length of string attributes, but I see why this could be problematic especially displaying such data in UI. |
The problem is not only that stringified JSONs are limited in character length, but a built-in type could also allow for searching/filtering within JSON attributes in the collection. MariaDB also natively supports JSON data types, as well as setting constraints to validate against JSON Schemas if needed. I know that all of this could be accomplished by creating a new collection with the corresponding relations, but sometimes unstructured but still queryable data comes in very handy, especially for very dynamic data. |
馃敄 Feature description
馃憠In the admin panel, there is an option to select the DateTime value or when we last update the data in the document or create the document and also there is no option to add a JSON as an attribute. 馃槃
馃憠it is very handy if there is a visualizer to create relations between objects in the console.
馃帳 Pitch
If these features are implemented that's very easy for users to create the APIs and used that.
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: