Toyokazu Tomatsu
Posts: 66
Nickname: tomatsu
Registered: Jul, 2003
Toyokazu Tomatsu is a developer of Pnuts.
|
|
|
|
Pnuts Updates (Map expression, join(), query(), bug fixes)
|
Posted: Jul 14, 2004 7:39 PM
|
|
Advertisement
|
20040713(1.1beta, 1.0rc2)
- (1) Map expression is added to the language (1.1)
e.g.
{"name" => "Sae", "age" => 1}
- (2) join() function is added to pnuts.lib module (1.0 & 1.1)
e.g.
join(':', [1,2,3]) ---> "1:2:3"
- (3) query(expr) is added to pnuts.jdbc module (1.1)
e.g.
con = openJDBC("org.postgresql.Driver", "jdbc:postgresql:wiki", "postgres", "")
q = "select * from wikirecord"
for (row : con.query(q)){
println(join(":", [row.name, row.language, row.time]))
}
- (4) Bug fixes:
Read: Pnuts Updates (Map expression, join(), query(), bug fixes)
|
|