gitmyhub

sortStringToSql

JavaScript ★ 3 updated 9y ago ▣ archived

Node Module. Convert Sort Expression to SQL that can be used in 'ORDER BY' statement, e.g. '-aired,id' -> 'aird DESC NULLS LAST, id ASC NULLS LAST'.

No plain-English explanation yet — one is being written right now. Check back in a minute.