Create an AsyncIpStorage backed by a PostgreSQL database via the pg package.
pg
The adapter creates the ip_snapshots table and its index automatically on the first call to init().
ip_snapshots
init()
PostgreSQL connection string, e.g. "postgresql://user:pass@localhost:5432/mydb".
"postgresql://user:pass@localhost:5432/mydb"
Maximum snapshots to retain per deviceId. Default: 50
50
Create an AsyncIpStorage backed by a PostgreSQL database via the
pgpackage.The adapter creates the
ip_snapshotstable and its index automatically on the first call toinit().