aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-04-22 20:49:40 -0700
committerAdam Mathes <adam@trenchant.org>2018-04-22 20:49:40 -0700
commit63bde326a39bffe6181a16ad86e782333047cc86 (patch)
tree88de1b7898e001ac07934cf2df188c883770c5fb
parentac7010914d71ee590db24a4ad2a1cb16664ba575 (diff)
downloadneko-63bde326a39bffe6181a16ad86e782333047cc86.tar.gz
neko-63bde326a39bffe6181a16ad86e782333047cc86.tar.bz2
neko-63bde326a39bffe6181a16ad86e782333047cc86.zip
remove comments
-rw-r--r--models/item/item.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/models/item/item.go b/models/item/item.go
index 751cb2f..77ee02c 100644
--- a/models/item/item.go
+++ b/models/item/item.go
@@ -117,15 +117,6 @@ func Filter(max_id int64, feed_id int64, category string, unread_only bool, star
var args []interface{}
- // INNER JOIN MACHINE GOOO
-
- // select STRAIGHT_JOIN item.*, feed.*
- // FROM item
- // INNER JOIN feed ON feed.id=item.feed_id
- // WHERE item.read_state=false and feed.category='news'
- // ORDER BY item.id desc
- // LIMIT 15;
-
query := `SELECT STRAIGHT_JOIN item.id, item.feed_id, item.title, item.url, item.description,
item.read_state, item.starred, item.publish_date,
item.full_content, item.header_image,