You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's only one record in device_setting, device_setting-1. One of its fields is guid.
(boss_client@master1)13> boss_db:find("device_setting-2.guid").
undefined
(boss_client@master1)14> boss_db:find("device_setting-1.guid").
<<"8MTWU">>
% try for an unknown column, foo, we get exception
(boss_client@master1)15> boss_db:find("device_setting-1.foo").
** exception error: undefined function device_setting:foo/1
in function lists:foldl/3 (lists.erl, line 1262)
(boss_client@master1)16> 14:50:34.501 [info] Query SELECT * FROM device_settings WHERE id = 1
I've never seen {error, _} come out of find. Just either "undefined" or an exception.
The text was updated successfully, but these errors were encountered:
Just a documentation bug from here: http://chicagoboss.org/doc/api-db.html as referenced in readme.md
There's only one record in device_setting, device_setting-1. One of its fields is guid.
I've never seen {error, _} come out of find. Just either "undefined" or an exception.
The text was updated successfully, but these errors were encountered: