2014-10-10 22:09:14 +00:00
|
|
|
table_name("groups")
|
2015-02-09 01:40:35 +00:00
|
|
|
description("Local system groups.")
|
2014-10-10 22:09:14 +00:00
|
|
|
schema([
|
2015-02-09 01:40:35 +00:00
|
|
|
Column("gid", BIGINT, "Unsigned int64 group ID"),
|
|
|
|
Column("gid_signed", BIGINT, "A signed int64 version of gid"),
|
|
|
|
Column("groupname", TEXT, "Canonical local group name"),
|
2014-10-10 22:09:14 +00:00
|
|
|
])
|
2014-10-14 04:58:26 +00:00
|
|
|
implementation("groups@genGroups")
|
2015-06-01 22:53:52 +00:00
|
|
|
examples([
|
|
|
|
"select * from groups where gid = 0",
|
|
|
|
# Group/user_groups is not JOIN optimized
|
|
|
|
#"select g.groupname, ug.uid from groups g, user_groups ug where g.gid = ug.gid",
|
|
|
|
])
|