Warning:
Cockroach Labs will stop providing Assistance Support for this version on November 12, 2021. Prior to that date, upgrade to a more recent version to continue receiving support. For more details, see the Release Support Policy.
This guide shows you how to do common tasks that come up when you build an application using CockroachDB.
Common Tasks
- Install a Postgres Client
- Connect to the Database
- Insert Data
- Query Data
- Update Data
- Delete Data
- Run Multi-Statement Transactions
- Error Handling and Troubleshooting
- Make Queries Fast
Sample Apps and Tutorials
For simple but complete sample apps and tutorials, see Hello World.
For more advanced sample apps and tutorials, see Build a Spring App with CockroachDB and Develop and Deploy a Multi-Region Web Application.
Tip:
Take our newest Cockroach University course, CockroachDB for Python Developers.