thinkjs model 方法集合

记录在这边,  省的之后再去另外查找

thinkjs model 方法集合_第1张图片
thinkjs model 方法集合_第2张图片

thinkjs model 方法集合_第3张图片

1. constructor

2. db

3. get models

4. set models

5. tablePrefix

6.get tablePrefix

7. tableName

8. get tableName

9. pk

10. get pk

11. lastSql

12. get lastSql

13. model

14. cache

15. limit

16. page

17. where

18. field

19. fieldReverse

20. table

21. union

22. join

23. order

24. alias

25. having

27. group

28. lock

29. distinct

30. explain

31. beforeAdd

32. afterAdd

33. beforeDelete

34. afterDelete

35. beforeUpdate

36  afterUpdate

37. beforeFind

38. afterFind

39. beforeSelect

40. afterSelect

41. parseOptions

42. add

43. thenAdd

44. thenUpdate

45. addMany

46. delete

47. update

48. updateMany

49. find

50. select

51. selectAdd

52. countSelect

53. getField

54. increment

55. decrement

56. count

57. sum

58. min

59. max

60. avg

61. query

62. execute

63. parseSql

64. setRelation

65. startTrans

66. commit

67. rollback

68. transaction

69. buildSelectSql

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(html,nodejs,thinkjs)