-
Notifications
You must be signed in to change notification settings - Fork 2
/
CDB_DOCUMENT.tps
executable file
·40 lines (31 loc) · 1.33 KB
/
CDB_DOCUMENT.tps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
CREATE OR REPLACE type ZEKUS.cdb_document under json
(
/*
This file is part of couch_orcl.
couch_orcl is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
couch_orcl is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with couch_orcl. If not, see <http://www.gnu.org/licenses/>.
*/
id varchar2(40),
rev varchar2(40),
conn cdb_connection,
deleted number,
constructor function cdb_document(id varchar2:=null) return self as result,
constructor function cdb_document(conn cdb_connection, id varchar2:=null)
return self as result,
member procedure set_id(id varchar2),
member procedure set_rev(rev varchar2),
member function print return varchar2,
member function is_deleted return boolean,
member procedure print,
member procedure save,
member procedure remove
);
/