Erlang mysql example

后端 未结 3 1789
隐瞒了意图╮
隐瞒了意图╮ 2021-02-06 13:34

Just wondering if anyone could give a working example of using the erlang-mysql module (http://code.google.com/p/erlang-mysql-driver/).

I am new to erlang and I am tryin

3条回答
  •  攒了一身酷
    2021-02-06 14:06

    you should check the count of rows, then execute:

    eg: RowLen = erlang:length(Row), if RowLen > 0 -> {success}; true -> {failed, "Row is null"} end.

提交回复
热议问题