select module_id from cm_modules
where key = :module_name
select
key, name, '' as id,
'' as children, 't' as expandable, 'f' as symlink,
0 as update_time
from cm_modules
order by sort_key
select
:module_name as mount_point,
name, key, '' as children,
'f' as expandable,
'f' as symlink,
0 as update_type
from cm_modules order by sort_key