Kazuyoshi UenoEnable Japanese to use in the Docker Container of MySQL.If you do not need Japanese or some other multi-byte languages, this article will not be readable.I will show you the way so that we can…Apr 10, 2020Apr 10, 2020
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.Sometimes Updating some records by Repo.insert_allWhen you want to upsert a record, you may want to use Repo.insert with on_conflict::replace_all. Me, too. However, I really DO NOT…Mar 9, 2020Mar 9, 2020
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.Bulk update a record with Ecto | Elixir /PhoenixDo you update a record by overriding values? Yes, you can. However, sometime we just can’t do it, because sometimes we have to delete some…Mar 27, 20191Mar 27, 20191
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.Ecto. Select data by computed column | Elixir / PhoenixThis post is about a basic technique for SQL. The reason I want to write this article is that I am not a good friend with SQL and I hope a…Mar 26, 2019Mar 26, 2019
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.When I use “cond” | Elixir / PhoenixI’ve told that I like the “with” statement in my first post because the “with” statement can check all conditions which are requirements…Mar 18, 2019Mar 18, 2019
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.Naming Rule of public and private function | Elixir / PhoenixI think the function name is based on snake case, many programmers seem to use it. But just the snake case? I have another naming rule to…Mar 12, 2019Mar 12, 2019
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.What is “where(query, false)”? | Elixir / PhoenixAre you a good friend for SQL? Please say YES! I will tell you something about Ecto, but the essence of this post is SQL. I guess you…Mar 9, 2019Mar 9, 2019
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.Do you want to see “SQL” you created by Ecto?For me, I think Ecto is really kind to use among O/R Mappers I have ever used so far. But I have felt like.., especially when the query…Mar 9, 2019Mar 9, 2019
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.“if” statement can return value | Elixir | PhoenixI’m not trying to use “if” statement in Elixir as I’ve already mentioned it in the first post. But ….the reality is different. We can…Mar 8, 2019Mar 8, 2019
Kazuyoshi UenoinCodes for Elixir / Phoenix. Investigation of the best practice.I like the “with” statement. | Elixir / PhoenixIt’s been 3 months since I’ve start to write codes with Elixir. Elixir itself is still minor language in Japan, So I’m feeling that I do…Mar 7, 2019Mar 7, 2019