_const

package module
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

README

Apito Database Driver

This is the official database driver for Apito. There are four types of database driver available in Apito.

  1. Key Value Database Driver
  2. Project Database Driver ( Project Driver )
  3. System Database Driver ( System Driver)
  4. Cache Database Driver ( Cache Driver )

Key Value Database Driver

  1. Badger
  2. Bolt
  3. Redis

Document Database Driver

  1. Postgres
  2. MySQL
  3. SQLite
  4. Mariadb
  5. Firestore ( in alpha version, working on it )
  6. MongoDB ( Not implemented yet )

System Database Driver

  1. Postgres
  2. MySQL
  3. BoltDB

Cache Database Driver

  1. Redis
  2. Badger
  3. Memory

Documentation

Index

Constants

View Source
const (
	// sql
	MySQLDriver       string = "mysql"      // 100% support [Project | System]
	MariaDBDriver     string = "mariadb"    // 100% support [Project | System]
	SQLiteDriver      string = "sqlite"     // 100% support [Project | System]
	PostgresSQLDriver string = "postgresql" // 100% support [Project | System]
	SQLServerDriver   string = "sqlServer"
	OracleDriver      string = "oracle"

	// nosql
	ArangoDriver    string = "arangodb"
	MongoDBDriver   string = "mongodb"
	CouchbaseDriver string = "couchbase"
	CassandraDriver string = "cassandra"
	Neo4JDriver     string = "neo4j"
	CouchDBDriver   string = "couchdb"

	// Cloud Based
	DynamoDB  string = "dynamoDB"
	FireStore string = "firestore"

	// EmbeddedDB Embedded Database
	EmbeddedDB string = "embedded"

	// KeyValue database
	RedisDriver  string = "redis"
	BadgerDriver string = "badger"
	BoltDriver   string = "bolt"

	MemoryDb string = "memory" // usually its sync.Map{}
)

Support for all the driver is not ready yet. This is just a placeholder for all the driver. Community can add more driver here.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cache
kv
query_builder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL