@@ -41,7 +41,7 @@ import TypeORMAdapter from 'typeorm-adapter';
4141async function myFunction() {
4242 // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
4343 // The adapter can not automatically create database.
44- // But the adapter will automatically and use the table named "casbin_rule".
44+ // But the adapter will automatically create and use the table named "casbin_rule".
4545 // I think ORM should not automatically create databases.
4646 const a = await TypeORMAdapter .newAdapter ({
4747 type: ' mysql' ,
@@ -79,7 +79,7 @@ import TypeORMAdapter from 'typeorm-adapter';
7979async function myFunction() {
8080 // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
8181 // The adapter can not automatically create database.
82- // But the adapter will automatically and use the table named "casbin_rule".
82+ // But the adapter will automatically create and use the table named "casbin_rule".
8383 // I think ORM should not automatically create databases.
8484 const a = await TypeORMAdapter .newAdapter ({
8585 type: ' mysql' ,
@@ -134,7 +134,7 @@ class CustomCasbinRule extends CasbinRule {
134134async function myFunction() {
135135 // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
136136 // The adapter can not automatically create database.
137- // But the adapter will automatically and use the table named "casbin_rule".
137+ // But the adapter will automatically create and use the table named "casbin_rule".
138138 // I think ORM should not automatically create databases.
139139 const a = await TypeORMAdapter .newAdapter ({
140140 type: ' mysql' ,
@@ -194,7 +194,7 @@ class CustomCasbinRule extends CasbinRule {
194194async function myFunction() {
195195 // Initialize a TypeORM adapter and use it in a Node-Casbin enforcer:
196196 // The adapter can not automatically create database.
197- // But the adapter will automatically and use the table named "casbin_rule".
197+ // But the adapter will automatically create and use the table named "casbin_rule".
198198 // I think ORM should not automatically create databases.
199199
200200 const datasource = new DataSource ({
0 commit comments