node.js - Using libphonenumber library in postgresql function -
I have to parse the phone number in the postgrascape function. I am using the waterway ORM and basically doing this calculation in javascript. Now I want to take the whole argument into postgrescale archived work. But the obstacle is that the availability of Lymphonumber Library is available. It is available in Node.js, but it is not sure how to use it in postgresql.
Any thoughts?
C binding is already available
Create Extens PG_LebonNumber; SELECT parse_phone_number ('03 7010 1234 ',' AU ') = parse_phone_number (' (03) 7010 1234 ',' AU '); Select table fu as parse_phone_number (pH, 'au') (value ('0370101234'), ('03 7010 1234 '), (' (03) 7010 1234 ')) AS T (PH);
Find my answer
Comments
Post a Comment