Skip to content

Commit 45b099f

Browse files
committed
Back with dialect property in class
1 parent f304a2a commit 45b099f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-schema-entity",
3-
"version": "7.0.22",
3+
"version": "7.0.23",
44
"description": "Manage a group of tables with a parent child relation in SQL that will be seen as a document, or entity, like a no SQL database",
55
"repository": "https://github.com/andrglo/json-schema-entity.git",
66
"author": {

src/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -1777,6 +1777,9 @@ module.exports = function (schemaName, schema, config) {
17771777
get alias() {
17781778
return identity.as
17791779
},
1780+
get dialect() {
1781+
return config.dialect
1782+
},
17801783
get schema() {
17811784
function buildSchema(data) {
17821785
var schema = data.schema

0 commit comments

Comments
 (0)