- 博客(2)
- 收藏
- 关注
原创 2021-06-30
SQL convert uuid create function to_uuid(entity_id character varying, OUT uuid_id uuid) returns uuid language plpgsql as BEGINuuidid:=substring(entityid,8,8)∣∣′−′∣∣substring(entityid,4,4)∣∣′−1′∣∣substring(entityid,1,3)∣∣′−′∣∣substring(entityid,16,4)∣∣′−′∣∣
2021-06-30 09:57:54
50
原创 python3 maketrans() method
keyword = keyword.translate(str.maketrans(’’,’’,string.punctuation)) # Remove punctuation from the string.** Python3.4 已经没有 string.maketrans() 了,取而代之的是内建函数: bytearray.maketrans()、bytes.maketrans()、str.maketrans() 。 1)一个参数,该参数必须为字典 d = {‘a’:‘1’,‘b’:‘2’,‘
2020-09-28 07:38:31
324
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人