Giter Site home page Giter Site logo

ydb-go-examples's Introduction

ydb-go-examples

examples for work with YDB

Navigation of examples

Example Description Run command
auth/access_token_credentials authenticate with access token credentials see README.md
auth/anonymous_credentials authenticate with anonymous credentials see README.md
auth/metadata_credentials authenticate with metadata credentials see README.md
auth/service_account_credentials authenticate with service account credentials see README.md
auth/environ authenticate using environment variables see README.md
basic/native store and read the series with native driver make basic
basic/database_sql store and read the series with database/sql driver make database_sql
serverless/healthcheck healthcheck site by URL (yandex function and local http-server) make healthcheck
serverless/url_shortener URL shortener example (yandex function and local http-server) make url_shortener
bulk_upsert bulk upserting data make bulk_upsert
containers containers example make containers
ddl DDL requests example make ddl
decimal decimal store and read make decimal
pagination pagination example make pagination
partitioning_policies partitioning_policies example make partitioning_policies
read_table read table example make read_table
topic/cdc-cache-bus-freeseats example of use cdc for cache updates in web application go run topic/cdc-example-cache-freeseats/*.go
topic/cdc-fill-and-read change table records and read cdc stream go run topic/cdc/*.go
ttl TTL using example make ttl
ttl_readtable TTL using example make ttl_readtable

Run command needs prepared environ like this:

export YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS=~/.ydb/SA.json
export YDB_CONNECTION_STRING="grpcs://ydb.serverless.yandexcloud.net:2135/?database=/ru-central1/b1g8skpblkos03malf3s/etn02qhd0tfkrq4riqgd"

ydb-go-examples's People

Contributors

asmyasnikov avatar nik1998 avatar rekby avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.