primary_key(schema)
Returns the primary key column name
Represents the schema mapping between MongoDB collection and SQL table ns is the namespace
Returns the SQL table column names for a schema mapping definition
Returns if the column for a schema mapping is a primary key
Creates a schema struct based on the collection schema definition, which is a JSON that defines the mapping between MongoDB collection and the SQL table definition
Returns the mongo document key for a schema mapping definition and the given column
store the schema mapping as key value in the Schema store <namespace>.<collection>.name = <value> <namespace>.<collection>.table = <value> <namespace>.<collection>.columns = [values...] <namespace>.<collection>.<mongo_key>.indexes = [values...] <namespace>.<collection>.<mongo_key>.column = <value> <namespace>.<collection>.<mongo_key>.type = <value> <namespace>.<collection>.<sql_column>.type = <value> <namespace>.<collection>.<sql_column>.mongo_key = <value>
Returns the primary key column name
Return the saved schema mapping struct for the given namespace and collection
Returns the schema name for a schema mapping definition
Default sorting of schemas by alphabetic ordering of the collection
Returns the SQL table name for a schema mapping definition
Returns the SQL table column type for a schema mapping definition and the given column
Returns the SQL table column names for a schema mapping definition
Returns if the column for a schema mapping is a primary key
Creates a schema struct based on the collection schema definition, which is a JSON that defines the mapping between MongoDB collection and the SQL table definition
Returns the mongo document key for a schema mapping definition and the given column
store the schema mapping as key value in the Schema store <namespace>.<collection>.name = <value> <namespace>.<collection>.table = <value> <namespace>.<collection>.columns = [values...] <namespace>.<collection>.<mongo_key>.indexes = [values...] <namespace>.<collection>.<mongo_key>.column = <value> <namespace>.<collection>.<mongo_key>.type = <value> <namespace>.<collection>.<sql_column>.type = <value> <namespace>.<collection>.<sql_column>.mongo_key = <value>
Returns the primary key column name
Return the saved schema mapping struct for the given namespace and collection
Returns the schema name for a schema mapping definition
Default sorting of schemas by alphabetic ordering of the collection
Returns the SQL table name for a schema mapping definition
Returns the SQL table column type for a schema mapping definition and the given column