equal
deleted
inserted
replaced
90 def sql_name: String = quote_ident(name) |
90 def sql_name: String = quote_ident(name) |
91 def sql_decl(sql_type: Type.Value => String): String = |
91 def sql_decl(sql_type: Type.Value => String): String = |
92 sql_name + " " + sql_type(T) + (if (strict || primary_key) " NOT NULL" else "") |
92 sql_name + " " + sql_type(T) + (if (strict || primary_key) " NOT NULL" else "") |
93 |
93 |
94 def sql_where_eq: String = "WHERE " + sql_name + " = " |
94 def sql_where_eq: String = "WHERE " + sql_name + " = " |
95 def sql_where_eq_string(s: String): String = sql_where_eq + quote_string(s) |
95 def sql_where_equal(s: String): String = sql_where_eq + quote_string(s) |
96 |
96 |
97 override def toString: String = sql_decl(sql_type_default) |
97 override def toString: String = sql_decl(sql_type_default) |
98 } |
98 } |
99 |
99 |
100 |
100 |