{"id":20564530,"url":"https://github.com/tarantool/tarantool-erlang","last_synced_at":"2025-04-14T15:13:11.690Z","repository":{"id":5451256,"uuid":"6644920","full_name":"tarantool/tarantool-erlang","owner":"tarantool","description":"An Erlang client for Tarantool (supported by the community)","archived":false,"fork":false,"pushed_at":"2020-12-19T15:51:00.000Z","size":21,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-14T15:13:09.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tarantool.org/","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarantool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-11T21:38:21.000Z","updated_at":"2020-12-19T15:51:03.000Z","dependencies_parsed_at":"2022-09-15T02:21:15.899Z","dependency_job_id":null,"html_url":"https://github.com/tarantool/tarantool-erlang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-erlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-erlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-erlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Ftarantool-erlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/tarantool-erlang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904637,"owners_count":21180835,"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":[],"created_at":"2024-11-16T04:27:31.693Z","updated_at":"2025-04-14T15:13:11.638Z","avatar_url":"https://github.com/tarantool.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Erlang connector to 1.5 #\n\nCopyright (c) 2012-2013 Roman Tsisyk\n\n__Authors:__ Roman Tsisyk ([`roman@tsisyk.com`](mailto:roman@tsisyk.com)).\n\n__References__\n* [Tarantool homepage](http://tarantool.org/)\n* [Tarantool IPROTO protocol reference](https://github.com/tarantool/tarantool/blob/1.5.5/doc/box-protocol.txt)\n\n\n\n\n### \u003ca name=\"Overview\"\u003eOverview\u003c/a\u003e ###\n\n\nETarantool is an Erlang client for Tarantool NoSQL database.\n\nTarantool is an efficient in-memory data store.\nThis library uses Tarantool's binary request/response protocol, called IPROTO.\nIPROTO features a complete access to Tarantool functionality, including:\n* request multiplexing, e.g. ability to asynchronously issue multiple\n    requests via the same connection\n* response format that supports zero-copy writes\n\n\n\n### \u003ca name=\"Status\"\u003eStatus\u003c/a\u003e ###\n\nEarly alpha. INSERT, SELECT, REPLACE and CALL is fully supported.\nUPDATE is not implemented. Request multiplexing is supported.\n\n\n### \u003ca name=\"Installation\"\u003eInstallation\u003c/a\u003e ###\n\nPlease use [rebar](https://github.com/basho/rebar).\nThe following lines are needed in your `rebar.config` in order to get this work:\n\n```\n{lib_dirs,[\"deps\"]}.\n{deps, [\n    {'etarantool', \".*\", {git, \"git://github.com/rtsisyk/etarantool.git\",\n        {branch, \"master\"}}},\n]}.\n```\n\n\n### \u003ca name=\"Examples\"\u003eExamples\u003c/a\u003e ###\n\n\n```\n%% Connect\n\u003e {ok, Conn} = etarantool:connect(\"localhost\").\n{ok,\u003c0.55.0\u003e}\n\n%% Insert\n\u003e {ok, Tuples} = etarantool:insert(Conn, 0, [{1, 2, \"text\"}], [return_tuple]).\n{ok,[[\u003c\u003c1,0,0,0\u003e\u003e,\u003c\u003c2,0,0,0\u003e\u003e,\u003c\u003c\"text\"\u003e\u003e]]}\n\n%% Select\n\u003e {ok, Tuples} = etarantool:select(Conn, 0, 0, [{1}]).\n{ok,[[\u003c\u003c1,0,0,0\u003e\u003e,\u003c\u003c2,0,0,0\u003e\u003e,\u003c\u003c\"text\"\u003e\u003e]]}\n\n%% Call\n\u003e {ok, Tuples} = etarantool:call(Conn, \u003c\u003c\"box.select\"\u003e\u003e, [0, 0, 1]).\n{ok,[[\u003c\u003c1,0,0,0\u003e\u003e,\u003c\u003c2,0,0,0\u003e\u003e,\u003c\u003c\"text\"\u003e\u003e]]}\n\n%% Delete\n\u003e {ok, Tuples} = etarantool:delete(Conn, 0, [{1}], [return_tuple]).\n{ok,[[\u003c\u003c1,0,0,0\u003e\u003e,\u003c\u003c2,0,0,0\u003e\u003e,\u003c\u003c\"text\"\u003e\u003e]]}\n\n%% Close\n\u003e ok = etarantool:close(Conn).\nok\n```\n\n\n\n## Modules ##\n\n\n\u003ctable width=\"100%\" border=\"0\" summary=\"list of modules\"\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://github.com/rtsisyk/etarantool/blob/master/doc/etarantool.md\" class=\"module\"\u003eetarantool\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://github.com/rtsisyk/etarantool/blob/master/doc/etarantool_iproto.md\" class=\"module\"\u003eetarantool_iproto\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\n\u003ctr\u003e\u003ctd\u003e\u003ca href=\"http://github.com/rtsisyk/etarantool/blob/master/doc/etarantool_varint.md\" class=\"module\"\u003eetarantool_varint\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Ftarantool-erlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Ftarantool-erlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Ftarantool-erlang/lists"}