This section consists of Database Things and fields description for every thing which is part of the template.
Introduction
To get to the Data section, click the database icon on the left side tabs in Bubble Editor.
See Bubble manual information when working with data: - https://manual.bubble.io/help-guides/working-with-data; https://manual.bubble.io/core-resources/data.
Data Types
Note: In case you have accidentally deleted a data type - no worries! Bubble lets you restoreπͺthe deleted data type.
Clicking on 'show deleted types' or 'show deleted fields' from the Data β Data types tab will reveal the deleted items, and a 'restore' button will appear next to each deleted entry. Simply click 'restore', to restore a field or data type.
Tip: Aside from the below-listed data types and fields, Bubble creates these default fields visible in each data type:
Creator
, Modified Date
, Created Date
and Slug
, except for the User data type. The User data type will have the following fields: email
, Modified Date
, Created Date
and Slug
.
These fields' values can be used in workflows, conditional formatting, etc. To learn more, see the Bubble manualCollection
This object holds info about a collection. It contains data like description, products, topics, list of upvoted collections etc.
It comes with the following fields:
CollectionUpvotes
List of UpvoteCollections This field holds a list of collection that were upvoted.
description
text This field holds information about the collection description.
name
text This field holds information about the collection name.
picture
image This field holds information about the collection picture.
Products
List of Products This field holds a list of products that are part of a collection.
Topics
List of Topics This field holds a list of topics related to a collection.
upvoteCount
number This field will register the actual number of upvotes for a collection.
Comment
This object stores information about a posted comment. It contains the Product a comment will be attached to.
It comes with the following fields:
content
text This field stores the comments content.
new
yes / noThis field marks a comment as new/old.
Product
Product This field stores the product to which this comment will be attached.
Replies
List of Replys This field stores a list of Reply objects that are relevant to the comment created.
Tip: This new field marks a comment as new/old.
Discussion
It contains the discussions about a Product, with a list of comments about it.
Tip: This object stores information that is created upon creating a comment.
It comes with the following fields:
Comments
List of Comments This field stores comments of a particular discussion.
Product
Product This field stores the product that is being discussed.
Menu
This object holds information regarding menu items. It simply contains an image and a menu name.
It comes with the following fields:
image
image This field store the menu image.
name
text This field store the menu name.
Product
This object holds info about a product. Besides regular information like product name, topic, site URL, picture, etc.
It comes with the following fields:
approved
yes / no This field marks a products as approved or declined.
Collections
List of Collections This field stores a list of collections that are related to an existing product.
creationDateText
text This field stores the creation date of a product in a text format, used later for filtering.
description
text This field stores the product description.
Discussions
List of Discussions This field stores a list of discussions related to a product.
picture
image This field stores the product image.
pictureFeatured
image This field stores the product featured picture.
pictureGallery
List of files This field stores a list of product images.
siteURL
text This field stores the product website URL.
title
text This field stores the product title/name.
Topics
List of Topics This field stores a list of topics related to a product.
upvoteCount
number This field will register the actual number of upvotes for a product.
Upvotes
List of UpvoteProducts This field holds a list of products tha
Note: The data type has a privacy rule applied. See the π¬ in the database under the privacy section for details.
Reply
This object stores information about a reply to a discussion comment.
It comes with the following fields:
- Comment Comment This field stores the comment to which you'll be replying.
- new yes / no This field marks a reply as new, or marks it as read.
- replyContent text This field stores the reply content.
Tip: The new field marks a reply as new, or marks it as read.
Topic
This field stores information about topics. It simply contains a title, description and a topic picture.
It comes with the following fields:
description
text This field stores information about a topic description.
picture
image This field stores information about a topic picture.
title
text This field stores information about a topic title.
UpvoteCollection
This field stores the collection which has been upvoted.
It comes with the following fields:
Collection
Collection This field stores the collection which has been upvoted.
new
yes / no This field determines whether or not the notification about a collection is new.
UpvoteProduct
This object stores information about an upvoted product.
It comes with the following fields:
new
yes / no This field determines whether or not the notification about a product is new.
Product
Product This field stores the product which has been upvoted.
User
Bubble applications have a built-in User data type that acts like any type that is created in a database. For instance, you can modify a user, delete a user, list them in a repeating group, etc.
This object contains data related/created by the current User. Besides regular information like name, profile photo, etc., it also contains data like list of collections, comments, and the following collections, as well as checking whether or not the current user is
an admin
.It comes with the following fields:
admin
yes / no This field attributes admin rights to a user, whose value of this field is "yes."
Collections
List of Collections This field holds all the collections a user has added to his collections.
Comments
List of Comments This field will store all the messages a user left for products.
FollowingCollections
List of Collections This field will hold all the collections with products a user has followed.
FollowingTopics
List of Topics This field will hold all the topics a user has followed.
headline
text This field will store a user's headline.
name
text This field will store a user's name.
Products
List of Products This field will store products a user has created.
profileHeader
image This field will store a user header picture.
profilePhoto
image This field will store a user profile picture.
UpvotesCollections
List of UpvoteCollections This field stores a list of upvoted collections by the current user.
UpvotesProducts
List of UpvoteProducts This field stores a list of upvoted products by the current user.
Note: The data type has a privacy rule applied. See the π¬ in the database under the privacy section for details.
Embedded Notes in Bubble Editor
This template comes with explicit Notes for Database fields, Option sets and their fields, and Privacy rules, which will guide you through the modification process. In order to preview a Note of any data type or field, click on the π¬ icon.