moccacoders / node-obremap

Laravel's Eloquent ORM for nodejs
https://github.com/moccacoders/node-eloquent
22 stars 9 forks source link

Fix | replace is working with only first #118

Closed egyjs closed 1 year ago

egyjs commented 1 year ago

previous output:

// THIS MODEL FILE WAS CREATED BY OBREMAP CLI
import { Model } from "@moccacoders/node-obremap";
class LessonsGroup extends Model {
    /*
        overwrite table name, this action is optional
        static tableName = "table_name";
    */

}
export default new #__MODEL_NAME__#();