+ "circle-member-view" => [
+ "fields" => [
+ "id" => ["group_member", "id"],
+ "uid" => ["group", "uid"],
+ "contact-id" => ["group_member", "contact-id"],
+ "contact-uri-id" => ["contact", "uri-id"],
+ "contact-link" => ["contact", "url"],
+ "contact-addr" => ["contact", "addr"],
+ "contact-name" => ["contact", "name"],
+ "contact-nick" => ["contact", "nick"],
+ "contact-avatar" => ["contact", "thumb"],
+ "contact-network" => ["contact", "network"],
+ "contact-blocked" => ["contact", "blocked"],
+ "contact-hidden" => ["contact", "hidden"],
+ "contact-readonly" => ["contact", "readonly"],
+ "contact-archive" => ["contact", "archive"],
+ "contact-pending" => ["contact", "pending"],
+ "contact-self" => ["contact", "self"],
+ "contact-rel" => ["contact", "rel"],
+ "contact-contact-type" => ["contact", "contact-type"],
+ "circle-id" => ["group_member", "gid"],
+ "circle-visible" => ["group", "visible"],
+ "circle-deleted" => ["group", "deleted"],
+ "circle-name" => ["group", "name"],
+ ],
+ "query" => "FROM `group_member`
+ INNER JOIN `contact` ON `group_member`.`contact-id` = `contact`.`id`
+ INNER JOIN `group` ON `group_member`.`gid` = `group`.`id`"
+ ],
+ "post-timeline-view" => [
+ "fields" => [
+ "uid" => ["post-user", "uid"],
+ "uri-id" => ["post-user", "uri-id"],
+ "gravity" => ["post-user", "gravity"],
+ "created" => ["post-user", "created"],
+ "edited" => ["post-user", "edited"],
+ "commented" => ["post-thread-user", "commented"],
+ "received" => ["post-user", "received"],
+ "changed" => ["post-thread-user", "changed"],
+ "private" => ["post-user", "private"],
+ "visible" => ["post-user", "visible"],
+ "deleted" => ["post-user", "deleted"],
+ "origin" => ["post-user", "origin"],
+ "global" => ["post-user", "global"],
+ "network" => ["post-user", "network"],
+ "protocol" => ["post-user", "protocol"],
+ "vid" => ["post-user", "vid"],
+ "contact-id" => ["post-user", "contact-id"],
+ "contact-blocked" => ["contact", "blocked"],
+ "contact-readonly" => ["contact", "readonly"],
+ "contact-pending" => ["contact", "pending"],
+ "contact-rel" => ["contact", "rel"],
+ "contact-uid" => ["contact", "uid"],
+ "self" => ["contact", "self"],
+ "author-id" => ["post-user", "author-id"],
+ "author-blocked" => ["author", "blocked"],
+ "author-hidden" => ["author", "hidden"],
+ "author-gsid" => ["author", "gsid"],
+ "owner-id" => ["post-user", "owner-id"],
+ "owner-blocked" => ["owner", "blocked"],
+ "owner-gsid" => ["owner", "gsid"],
+ "causer-id" => ["post-user", "causer-id"],
+ "causer-blocked" => ["causer", "blocked"],
+ "causer-gsid" => ["causer", "gsid"],
+ ],
+ "query" => "FROM `post-user`
+ LEFT JOIN `post-thread-user` ON `post-thread-user`.`uri-id` = `post-user`.`parent-uri-id` AND `post-thread-user`.`uid` = `post-user`.`uid`
+ STRAIGHT_JOIN `contact` ON `contact`.`id` = `post-user`.`contact-id`
+ STRAIGHT_JOIN `contact` AS `author` ON `author`.`id` = `post-user`.`author-id`
+ STRAIGHT_JOIN `contact` AS `owner` ON `owner`.`id` = `post-user`.`owner-id`
+ LEFT JOIN `contact` AS `causer` ON `causer`.`id` = `post-user`.`causer-id`"
+ ],