下面这个判断 null 的语句: a == null ? b: a 可以用 COALESCE 表达式,简化成: a ?? b 转载于:https://www.cnblogs.com/jasonlai2016/p/10212271.html