(s ...string)
| 119 | } |
| 120 | |
| 121 | func (p *sqliteHelper) Hash(s ...string) string { |
| 122 | return `hex_sha1(` + p.Concat(s...) + `)` |
| 123 | } |
| 124 | |
| 125 | func (p *sqliteHelper) ParentMPath(levelKey string, mpathes ...string) string { |
| 126 | return `substring_index(` + p.Concat(mpathes...) + `, '.', ` + levelKey + `-1)` |