Skip to content

SochDB is a high-performance embedded, ACID-compliant database purpose-built for AI agents - golang examples

Notifications You must be signed in to change notification settings

sochdb/sochdb-golang-examples

Repository files navigation

ToonDB Go SDK Examples

This directory contains examples for using the ToonDB Go SDK.

Prerequisites

  • Go 1.21+ installed.
  • ToonDB Go SDK: github.com/toondb/toondb-go

📂 Repository Structure

toondb-golang-cd basic_kv/       # Basic key-value operations
├── sql_check/      # SQL operations and data integrity
├── rag/            # Complete RAG (Retrieval-Augmented Generation) system
└── README.md

Examples

1. Basic Key-Value Operations

Located in basic_kv/. Demonstrates how to open a database, put, get, and scan keys.

cd basic_kv
go run main.go

2. SQL Integrity Check

Location: rag/. Demonstrates SQL table creation and data integrity verification.

cd sql_check
go run main.go

About

SochDB is a high-performance embedded, ACID-compliant database purpose-built for AI agents - golang examples

Resources

Stars

Watchers

Forks

Languages