Client libraries

Laptop Client libraries

Say goodbye to SQL

TwiceDB client libraries provides an ORM-like experience, complete with auto-generated methods for writing data and for fast, correct indexed queries on both object attributes and method calls. For the basics, see our code snippets, or to get started and see example applications, see get started.

Go

We publish a Go client and documentation TwiceDB .

client, _ := impl.NewClient(ctx,
  &client_config.ClientConfig{...})
)
client.Start()
iquery :=
  NewMyStructIndexedQueryBuilder()
    .Where(...)
    .Build()
found, _ := (&MyStruct{})
  .ReadIQuery(client, iquery, ...)
Client client = new ClientImpl(
  new ClientConfig());
client.start();
IndexedQuery iquery =
  new MyClassIndexedQueryBuilder()
    .where(...)
    .build();
List<MyClass> found = IndexableI
    .readObjectsByIndexedQuery(
    client, iquery, ...);

Build confidence before you deploy

In addition to client libraries, we publish twicedb-miniserver to aid in local testing. Learn more.

Copyright © 2024 TwiceDB TwiceDB