1 var db = google.gears.factory.create('beta.database'); 2 db.open("database-demo"); 3 var rs = db.execute("select name from users"); 4 while(rs.isValidRow()) { 5 name = rs.fieldByName('name'); 6 rs.next(); 7 } 8 rs.close(); 9 db.close();
Posted by glenn on Wednesday, June 18, 2008 Posted in optimization, activerecord, rubyonrails Apologies to all for the extended hiatus, I was in the US for a month on holiday; and then I just got lazy. Anyway, I'm back and plugging someone else's extension. I came across ActiveRecord Extension last night, and was quite frankly dumbfounded that 1) I hadn't come across it before, and 2) More peopl
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く