UNPKG
dobo
Version:
latest (2.32.0)
2.32.0
2.31.0
2.30.7
2.30.6
2.30.5
2.30.4
2.30.3
2.30.2
2.30.1
2.30.0
2.29.2
2.29.1
2.29.0
2.28.0
2.27.2
2.27.1
2.27.0
2.26.4
2.26.3
2.26.2
2.26.1
2.26.0
2.25.0
2.24.0
2.23.0
2.22.1
2.22.0
2.21.1
2.21.0
2.20.1
2.20.0
2.19.1
2.19.0
2.18.2
2.18.1
2.18.0
2.17.0
2.16.0
2.15.0
2.14.1
2.14.0
2.13.0
2.12.0
2.11.4
2.11.3
2.11.2
2.11.1
2.11.0
2.10.1
2.10.0
2.9.3
2.9.2
2.9.1
2.9.0
2.8.3
2.8.2
2.8.1
2.8.0
2.7.0
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.1
2.5.0
2.4.0
2.3.1
2.3.0
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.0.1
2.0.0
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
DBMS for Bajo Framework
github.com/ardhi/dobo
ardhi/dobo
dobo
/
lib
/
factory
/
model
/
update-attachment.js
10 lines
(7 loc)
•
253 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
action =
'updateAttachment'
async
function
updateAttachment
(
...
args
)
{
if
(
args
.length ===
0
)
return
this
.action(action, ...
args
)
const
[id, opts = {}] =
args
return
this
.createAttachment(
this
, id, opts) } export
default
updateAttachment