mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 14:08:42 +00:00
ref: 88e2ffc54b
This commit is contained in:
parent
360756d0ac
commit
42f20cef64
@ -124,7 +124,7 @@ class DB {
|
|||||||
return "{$field} as {$name}";
|
return "{$field} as {$name}";
|
||||||
}
|
}
|
||||||
public static function value_as($value, $name) {
|
public static function value_as($value, $name) {
|
||||||
return DB::value($value)."as {$name}";
|
return DB::value($value)." as {$name}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function if_func($conds, $val1, $val2) {
|
public static function if_func($conds, $val1, $val2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user