OSDN Git Service
(root)
/
webchat
/
WebChat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185406f
)
ProfileCollection.ToArrayAsyncを最適化した
author
konekoneko
<jbh03215@hotmail.co.jp>
Sun, 18 Nov 2012 08:59:11 +0000
(17:59 +0900)
committer
konekoneko
<jbh03215@hotmail.co.jp>
Sun, 18 Nov 2012 08:59:11 +0000
(17:59 +0900)
profile.js
patch
|
blob
|
history
diff --git
a/profile.js
b/profile.js
index
346bf5f
..
34636c1
100644
(file)
--- a/
profile.js
+++ b/
profile.js
@@
-325,7
+325,7
@@
function ProfileCollection()
pool.query("SELECT * FROM list WHERE name LIKE ? LIMIT ?,?",[pattern+"%",start,count],cb);
\r
}
\r
this.ToArrayAsync = function(start,count,cb){
\r
- pool.query("SELECT
*
FROM list LIMIT ?,?",[start,count],cb);
\r
+ pool.query("SELECT
name,age,lastmodified
FROM list LIMIT ?,?",[start,count],cb);
\r
}
\r
}
\r
\r