Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about mnesia

Read more about mnesia

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - mnesia

{aborted, {bad_type, {...} } on mnesia:write/3

Supressing irrelevant code, i've the following: % somefile.erl -record(task, {description, date, completed = false}). init() -> {atomic, _} = mnesia:create_table(task, [{attributes, record_info...
test-img

v1d3rm3

erlang

mnesia

Votes: 0

Answers: 1

Latest Answer

After hours trying to find, the problem here is in the record task definition. I wasn't using the hrl to share definitions, so i have the definition where i was using it, because of this, in one file ...
test-img

v1d3rm3

Convert Erlang code to elixir in mnesia delete function?

I need to convert this Erlang code to Elixir. fun(OtpTemp, otp) when OtpTemp#otp.genenrated_time < time -> [OtpTemp | otp]; (_, otp) -> IO.i...
test-img

Hasantha Lakshan

erlang

elixir

translate

mnesia

Votes: 0

Answers: 1

Latest Answer

This is not a valid erlang code in the first place. Erlang has no clue about IO.inspect/1 and (_, otp) would raise as well. Record might (or might not) be a map in elixir, funs are funs. fn %{gener...
test-img

Aleksei Matiushkin

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved