摘要:
只需使用parseFloat(): var c = parseFloat(a) + parseFloat(b); 阅读全文
摘要:
(function ($) { $.foo = { name: 'dog', getName: function () { alert("hello:"+$.foo.name); }, run: function (n) { alert($.foo.name+" run " + n+" m"); } 阅读全文
摘要:
代码select c.relname as 表名, a.attname as 列名, (case when a.attnotnull = true then true else false end) as 非空, (case when ( select count(pg_constraint.*) 阅读全文
摘要:
select distinct relname,attnamefrom pg_attribute att, pg_class bwhere b.oid = att.attrelidand att.attname like'%nick' --可以模糊查询 '%nick%'and attinhcount 阅读全文