I need to store some Place IDs in my DB. Unfortunately there is no documentation on the Place ID format. Basically, I mean the maximum (or fixed) length and the valid characters (i.e. a regular expression to validate the formal correctness of a Place ID). In other words, I need to know if I have to use CHAR(n) or VARCHAR(n) and an appropriate check constraint for the column.
It looks like they always are 27 chars of the urlsafe Base64 alphabet (-
instead of +
and _
instead of /
), but I can't be 100% sure as this aspect is not documented.
Can someone shed some light on this?