3 Star 0 Fork 0

cockroachdb/definitive_guide_sample_code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Sample code for CockroachDB The Definitive Guide

This repo contains the sample code for the OReilly book CockroachDB The Definitive Guide.

Caveats and tedious disclaimers

The code in this repository is offered in the public domain with No Strings Attached. You are free to use the code without attribution in any manner whatsoever.

However, this code is made available for educational purposes only, and we don't assert that it is suitable for inclusion in any production systems or definitively correct. If your hair falls out or your significant other leaves you after using this code, it's not our fault!

More seriously, this code illustrates CockroachDB coding practices - sometimes including anti-patterns. In other words, some of these files are examples of WHAT NOT TO DO. You need to consult the appropriate sections of the book to determine which examples are best-practice and which are anti-patterns.

The authors of these code samples believe that they know something about CockroachDB, but are not necessarily experts in all programming languages or platforms. Consequently, the idioms and conventions used within language or platform-specific examples might not represent all best practices for that language.

A lot of the code was written by Guy Harrison. Please address any comments or issues to him.

Structure

There are two top-level entry points in the repository.

  • Chapters contains entries specific to chapters. By and large, it will contain exact copies of fragments from each chapter
  • Languages contain language-specific examples that might, in some cases, span chapters.

空文件

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_cockroachdb/definitive_guide_sample_code.git
git@gitee.com:mirrors_cockroachdb/definitive_guide_sample_code.git
mirrors_cockroachdb
definitive_guide_sample_code
definitive_guide_sample_code
main

搜索帮助