10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-24 13:23:40 +01:00

Optional separator between method and basis in toString() method

This commit is contained in:
Mickaël Véril 2020-02-20 11:54:50 +01:00
parent 433396a2b8
commit e66c042d2a

View File

@ -81,10 +81,10 @@ class method {
return new method(vals[0], null)
}
}
toString() {
toString(separator="/") {
var str = this.name;
if (this.basis) {
str = str + '/' + this.basis;
str = str + separator + this.basis;
}
return str;
}