|
|
@ -704,3 +704,375 @@ |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-24T23:23:08.717] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyaxin' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyaxin'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-24T23:23:08.810] [DEBUG] SQL - Executing (default): INSERT INTO `Users` (`id`,`username`,`password`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3,$4); { |
|
|
|
plain: false, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
hooks: true, |
|
|
|
validate: true, |
|
|
|
fields: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
defaultFields: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
returning: true, |
|
|
|
hasTrigger: undefined, |
|
|
|
dialect: 'sqlite', |
|
|
|
dialectModule: null, |
|
|
|
dialectModulePath: null, |
|
|
|
protocol: 'tcp', |
|
|
|
define: {}, |
|
|
|
query: {}, |
|
|
|
sync: {}, |
|
|
|
timezone: '+00:00', |
|
|
|
clientMinMessages: 'warning', |
|
|
|
standardConformingStrings: true, |
|
|
|
omitNull: false, |
|
|
|
native: false, |
|
|
|
replication: false, |
|
|
|
ssl: undefined, |
|
|
|
pool: {}, |
|
|
|
quoteIdentifiers: true, |
|
|
|
retry: { max: 5, match: [ 'SQLITE_BUSY: database is locked' ] }, |
|
|
|
transactionType: 'DEFERRED', |
|
|
|
isolationLevel: null, |
|
|
|
databaseVersion: 0, |
|
|
|
typeValidation: false, |
|
|
|
benchmark: false, |
|
|
|
minifyAliases: false, |
|
|
|
logQueryParameters: false, |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
type: 'INSERT', |
|
|
|
instance: User { |
|
|
|
dataValues: { |
|
|
|
id: null, |
|
|
|
username: 'xieyaxin', |
|
|
|
password: '$2b$10$YLkPy2gcnuP6vY7THjm/AOY2ep7qdybqP6T6hZbK3/Hd9ZzOAiyYa', |
|
|
|
email: undefined, |
|
|
|
updatedAt: 2022-02-24T15:23:08.805Z, |
|
|
|
createdAt: 2022-02-24T15:23:08.805Z |
|
|
|
}, |
|
|
|
_previousDataValues: { username: undefined, password: undefined }, |
|
|
|
_changed: Set(2) { 'username', 'password' }, |
|
|
|
_options: { |
|
|
|
isNewRecord: true, |
|
|
|
_schema: null, |
|
|
|
_schemaDelimiter: '', |
|
|
|
attributes: undefined, |
|
|
|
include: undefined, |
|
|
|
raw: undefined, |
|
|
|
silent: undefined |
|
|
|
}, |
|
|
|
isNewRecord: true |
|
|
|
}, |
|
|
|
model: User, |
|
|
|
bind: [ |
|
|
|
'xieyaxin', |
|
|
|
'$2b$10$YLkPy2gcnuP6vY7THjm/AOY2ep7qdybqP6T6hZbK3/Hd9ZzOAiyYa', |
|
|
|
'2022-02-24 15:23:08.805 +00:00', |
|
|
|
'2022-02-24 15:23:08.805 +00:00' |
|
|
|
], |
|
|
|
uuid: 'default', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-24T23:38:02.696] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyaxin' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyaxin'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-24T23:38:25.085] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = '' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = ''", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:42:11.614] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:42:43.985] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:42:51.365] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:46:08.419] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:47:27.299] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:47:32.928] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:47:45.311] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:47:50.265] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:48:07.598] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:48:40.361] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyain' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyain'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:48:47.563] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`username` = 'xieyaxin' LIMIT 1; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: "`User`.`username` = 'xieyaxin'", |
|
|
|
limit: 1, |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:48:47.657] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`id` = 4; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: '`User`.`id` = 4', |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T00:50:19.830] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`id` = 4; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: '`User`.`id` = 4', |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|
[2022-02-25T19:44:28.822] [DEBUG] SQL - Executing (default): SELECT `id`, `username`, `password`, `email`, `createdAt`, `updatedAt` FROM `Users` AS `User` WHERE `User`.`id` = 4; { |
|
|
|
plain: true, |
|
|
|
raw: false, |
|
|
|
logging: [Function: bound ], |
|
|
|
where: '`User`.`id` = 4', |
|
|
|
hooks: true, |
|
|
|
rejectOnEmpty: false, |
|
|
|
originalAttributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
attributes: [ 'id', 'username', 'password', 'email', 'createdAt', 'updatedAt' ], |
|
|
|
tableNames: [ 'Users' ], |
|
|
|
type: 'SELECT', |
|
|
|
model: User, |
|
|
|
uuid: 'default', |
|
|
|
storage: '/home/dash/code/demo/hapi-demo/source/db/data.db', |
|
|
|
inMemory: 0, |
|
|
|
readWriteMode: 6 |
|
|
|
} |
|
|
|