init(Context) ->
z_pivot_rsc:define_custom_pivot(?MODULE, [{bitrix_id, "smallint"}],
Context),
ok.
observe_custom_pivot({custom_pivot, Id}, Context) ->
Requestor = m_rsc:p(Id, bitrix_id, Context),
{?MODULE, [{bitrix_id, Requestor}]}.
but when I do select * from pivot_?MODULE return all [],
--
---
You received this message because you are subscribed to the Google Groups
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.