This repo contains the sample code for the OReilly book CockroachDB The Definitive Guide.
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.
There are two top-level entry points in the repository.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。