plugins/tests/db_tests/TestDaoExt/user.js
Star b6bb3098bc update dao
many other updates
2024-03-24 12:28:02 +08:00

30 lines
545 B
JavaScript

import { userTable, userQuery, userItem, userList } from "../TestDao"
// extend actions for userTable
class userTableExt extends userTable {
getFirstUserName() {
return this.newQuery().first().getName()
}
}
// extend actions for userQuery
// class userQueryExt extends userQuery {
// extAction() {
//
// }
// }
// extend actions for userItem
class userItem {
getName() {
return this.name
}
}
// extend actions for userList
// class userListExt extends userList {
// extAction() {
//
// }
// }