19 lines
No EOL
568 B
JavaScript
19 lines
No EOL
568 B
JavaScript
//------------------------------------------------>
|
|
// Imports
|
|
//------------------------------------------------>
|
|
|
|
const { Model } = require("../Structures/Classes/Model");
|
|
|
|
//------------------------------------------------>
|
|
// UserModel
|
|
//------------------------------------------------>
|
|
|
|
class UserModel extends Model {
|
|
initialize() {
|
|
// The initialize method is required in each instance of the Model class!!!
|
|
}
|
|
|
|
async getUserById() {
|
|
// Additional classes are optional and can be used to interact with the DB Pool, this.pool!
|
|
}
|
|
} |