Home Reference Source Repository
import PostgresqlSerializer from 'schema-mapper-driver-postgresql/lib/serializer.js'
public class | source

PostgresqlSerializer

You can directly use instance of this class. postgresqlSerializer

Extends:

Serializer → PostgresqlSerializer

PostgresqlSerializer

Method Summary

Protected Methods
protected

serializeGeoJSON(value: String, column: Column): *

Serialize to geojson.

protected

serializeLinestring(value: String, column: Column): *

Serialize a linestring.

protected

serializeLinestringArray(value: String, column: Column): *

Serialize a linestring array.

protected

serializePoint(value: String, column: Column): *

Serialize a point.

protected

serializePointArray(value: String, column: Column): *

Serialize a point array.

protected

serializePolygon(value: String, column: Column): *

Serialize a polygon.

protected

serializePolygonArray(value: String, column: Column): *

Serialize a polygon array.

Protected Methods

protected serializeGeoJSON(value: String, column: Column): * source

Serialize to geojson.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*

protected serializeLinestring(value: String, column: Column): * source

Serialize a linestring.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*

protected serializeLinestringArray(value: String, column: Column): * source

Serialize a linestring array.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*

protected serializePoint(value: String, column: Column): * source

Serialize a point.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*

protected serializePointArray(value: String, column: Column): * source

Serialize a point array.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*

protected serializePolygon(value: String, column: Column): * source

Serialize a polygon.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*

protected serializePolygonArray(value: String, column: Column): * source

Serialize a polygon array.

Params:

NameTypeAttributeDescription
value String
column Column

Return:

*