Skip to content

viant/aerospike

Repository files navigation

Datastore Connectivity for Aerospike(aerospike)

Aerospike database/sql driver GoDoc

This library is compatible with Go 1.17+

Please refer to CHANGELOG.md if you encounter breaking changes.

Usage:

The following is a very simple example of CRUD operations

package main

import (
	"database/sql"
	"log"
	_ "github.com/viant/aerospike"
)

type Participant struct {
	Name   string
	Splits []float64
}

func main() {

	db, err := sql.Open("aerospike", "aerospike://<IP>/namespace")
	if err != nil {
		log.Fatal(err)
	}
	defer db.Close()
	

License

The source code is made available under the terms of the Apache License, Version 2, as stated in the file LICENSE.

Individual files may be made available under their own specific license, all compatible with Apache License, Version 2. Please see individual files for details.

Credits and Acknowledgements

Library Author:

Contributors: