Elixir - Related information

  • Wrap the data in a table

    A piece of data is sent from the background, such as: data: [{name: ", age: ", address: [ "tcp: 127.1.1.1:4000 ", "tcp: 127.1.1.2:4001 "; "tcp: 127.1.1.3:4002 "]},], hoping that address can be displayed in a table with a new line. my current disp...

    Mar.23,2021
  • How to remove the non-null restriction of a value in a database table

    because the value of adding data on the page will be empty, but the value of the database table is not empty, so it always fails to add data. How can we remove the restriction that the data in the database table is not empty? ...

    Mar.22,2021
  • When doing the query operation, the total_count obtained is not the expected result.

    this query operation I used the query plug-in ( rummage_ecto ), is the command line test: iex(4)rummage = %{ ...(4)> search: %{name: %{search_type: :like, search_term: "c"}}, ...(4)> sort: %{field: :name, order: :asc}, ......

    Mar.04,2021
  • Doubts about matching Range in Elixir pattern matching

    my doubt is that the Range matches in these two functions. I tested that the following code can be executed (segmented lookup): defmodule Chop do def guess(actual, range = low..high) do guess = div(low+high, 2) IO.puts "Is it -sharp{...

    Mar.03,2021
  • MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
    MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ead550-47f0c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    MySQL Errno : 1021
    Message : Disk full (/tmp/#sql-temptable-64f5-1ead550-47f0c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
    Need Help?