kodein-db-serializer-kotlinx

Kodein-DB with KotlinX serializer library

Лицензия

Лицензия

MIT
Категории

Категории

Kotlin Языки программирования Данные
Группа

Группа

org.kodein.db
Идентификатор

Идентификатор

kodein-db-serializer-kotlinx-metadata
Последняя версия

Последняя версия

0.6.1-beta
Дата

Дата

Тип

Тип

module
Описание

Описание

kodein-db-serializer-kotlinx
Kodein-DB with KotlinX serializer library
Ссылка на сайт

Ссылка на сайт

http://kodein.org
Система контроля версий

Система контроля версий

https://github.com/Kodein-Framework/Kodein-DB

Скачать kodein-db-serializer-kotlinx-metadata

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.kodein.db : kodein-db-api-metadata jar 0.6.1-beta
org.jetbrains.kotlinx : kotlinx-serialization-core jar 1.1.0
org.jetbrains.kotlin : kotlin-stdlib-common jar 1.4.31

Модули Проекта

Данный проект не имеет модулей.

KODEIN-DI

Kodein-DB is a Kotlin/Multiplatform embedded NoSQL database that works on JVM, Android, Kotlin/Native and iOS. It is suited for client or mobile applications.

Kodein-DB allows you to:

  • Easily store, retrieve and query kotlin objects.
  • Stop caring about schema definitions.
  • Easily set up a new project.

Kodein-DB is a good choice because it:

  • proposes a very simple and readable DSL.
  • integrates nicely with Android and iOS.
  • offers very good performance.
  • is just Kotlin!

CAUTION: Under no circumstances should it be used in a server!

IMPORTANT

Kodein-DB is in beta.

Although, we do use Kodein-DB in production, this means we cannot ensure the library's correctness and stability. Therefore, we ask that you first try Kodein-DB in non-critical applications, and report any mis-behaviour you may encounter.

Example

.A simple example

val db = DB.open("path/to/db")

db.put(User("John", "Doe"))
db.put(User("Jane", "Doe"))
db.put(User("Someone", "Else"))

val does = db.find<User>().byIndex("lastName", "Doe").models()
println(does.joinToString()) // Jane, John

Kodein-DB documentation

Support

Contribute

Contributions are very welcome and greatly appreciated! The great majority of pull requests are eventually merged.

To contribute, simply fork the project on Github, fix whatever is iching you, and submit a pull request!

We are sure that this documentation contains typos, inaccuracies and languages error. If you feel like enhancing this document, you can propose a pull request that modifies the documentation documents. (Documentation is auto-generated from those).

org.kodein.db

Версии библиотеки

Версия
0.6.1-beta
0.6.0-beta
0.5.0-beta
0.4.0-beta
0.3.0-beta
0.2.0-beta