{"id":16389471,"url":"https://github.com/qqwy/elixir-riak_ecto3","last_synced_at":"2025-12-11T23:43:08.537Z","repository":{"id":37848474,"uuid":"175506384","full_name":"Qqwy/elixir-riak_ecto3","owner":"Qqwy","description":"RiakEcto3 is an Elixir Ecto 3 Adapter for the Riak KV database (For Riak KV v 2.0 and upward).","archived":false,"fork":false,"pushed_at":"2023-03-17T20:11:53.000Z","size":62,"stargazers_count":13,"open_issues_count":6,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T18:19:12.715Z","etag":null,"topics":["crdt","ecto","ecto-adapter","ecto3","elixir","riak","riak-kv"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qqwy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-13T22:09:10.000Z","updated_at":"2024-03-14T18:19:12.716Z","dependencies_parsed_at":"2023-07-12T17:16:31.197Z","dependency_job_id":null,"html_url":"https://github.com/Qqwy/elixir-riak_ecto3","commit_stats":null,"previous_names":["qqwy/elixir_riak_ecto3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qqwy%2Felixir-riak_ecto3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qqwy%2Felixir-riak_ecto3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qqwy%2Felixir-riak_ecto3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qqwy%2Felixir-riak_ecto3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qqwy","download_url":"https://codeload.github.com/Qqwy/elixir-riak_ecto3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244269944,"owners_count":20426316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crdt","ecto","ecto-adapter","ecto3","elixir","riak","riak-kv"],"created_at":"2024-10-11T04:33:11.213Z","updated_at":"2025-12-11T23:43:08.460Z","avatar_url":"https://github.com/Qqwy.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RiakEcto3\n\n[![hex.pm version](https://img.shields.io/hexpm/v/riak_ecto3.svg)](https://hex.pm/packages/riak_ecto3)\n[![Build Status](https://travis-ci.org/Qqwy/elixir_riak_ecto3.svg?branch=master)](https://travis-ci.org/Qqwy/elixir_riak_ecto3)\n[![Inline docs](http://inch-ci.org/github/qqwy/elixir_riak_ecto3.svg)](http://inch-ci.org/github/qqwy/elixir_riak_ecto3)\n\n\nRiakEcto3 is an Ecto 3 Adapter for the Riak KV database (v 2.0 and upward), which represents structs as Riak CRDT Data Types.\n\n## Features\n\n- Structs are serialized as Riak CRDT Data Types.\n- `Repo.get`  and `Repo.insert/update`\n- `Repo.delete`\n- Executing raw Solr queries\n- Finding a key within a range of keys (which relies on Riak's Secondary Indexes feature).\n- Setting up a Riak bucket type ('database')\n- 'Tearing down' a Riak bucket type ('database'): It will only be flushed because Riak does not support the actual dropping of a bucket or bucket type.\n\n\n## Planned Features\n\n- Support for associations\n  - and preloading them.\n- Support for the Counter, Set and Flag CRDT datatypes.\n- (Maybe!) a converter for the Ecto query syntax into the Solr query syntax.\n\n## (For now) deliberatly not planned as features\n\n- Support for the rest of Secondary Indexes, because these are deprecated and custom indexes cannot be created for CRDTs.\n\n## Installation\n\nAs soon as [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `riak_ecto3` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:riak_ecto3, \"~\u003e 0.5.0\"}\n  ]\nend\n```\n\nDocumentation can be found at [https://hexdocs.pm/riak_ecto3](https://hexdocs.pm/riak_ecto3).\n\n## Running Tests\n\nThe tests expect Riak to be running in localhost at its default port (8087).\n- Some of the features of RiakEcto3 require that searching is turned on, (the `search` setting in `riak.conf`)\n- Some features (The ones that require secondary indexes) require that either the 'leveldb' or 'memory'-backend is used. (The `storage_backend` setting in `riak.conf`)\n- Besides this, there are no restrictions when running the tests.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqqwy%2Felixir-riak_ecto3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqqwy%2Felixir-riak_ecto3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqqwy%2Felixir-riak_ecto3/lists"}