Created
November 1, 2018 03:54
-
-
Save SamanShafigh/a3811d383106f879ec41dd7fffcffbc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Kernel from './kernel'; | |
import * as ServiceBuilder from './service'; | |
(async () => { | |
const kernel = new Kernel(ServiceBuilder); | |
await kernel.boot(); | |
await kernel.container.get('db').save('product', {}, {id: 1, name: 'ssssscar'}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment