docs/versioned_docs/version-2.65.0/tooljet-db/querying-tooljet-db.md
Querying the ToolJet database is as easy as querying any other data source on ToolJet.
The selected operation should adhere to the column constraints of the selected table.
<div style={{textAlign: 'center'}}> </div> <div style={{paddingTop:'24px', paddingBottom:'24px'}}>This operation returns all the records from the table.
This operation creates a new record in the table. You can create a single record or multiple records at once.
This operation updates a record in the table. You can update a single record or multiple records at once.
This operation deletes a record in the table. You can delete a single record or multiple records at once.
When you are creating, updating, or deleting records in a table that has a foreign key constraint, you need to ensure that the foreign key constraint is not violated.
You can join two or more tables in the ToolJet database by using the Join operation.
Inner Join, Left Join, Right Join, and Full Outer Join.= operation is supported for joining tables. If the selected table and the joining table have a foreign key relationship, both the columns will be auto-populated in the On dropdown.The date with time column stores data in the ISO 8601 format. When querying a table with a date with time column, the column is displayed in the ISO 8601 format by default. To display the date with time column in a more readable format in the Table Component, follow these steps:
{{cellValue}} variable contains the ISO 8601 formatted date. Convert it to a Date object using {{new Date(cellValue)}}, then format the Date object to meet your requirements.:::info If you have any other questions or feedback about ToolJet Database, please reach us out at [email protected] or join our Slack Community :::
</div> </div>