0.3.20 • Published 2 months ago

@dbpath/oracle v0.3.20

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Oracle Database Abstraction Layer for dbpath

LimitFn

In order to do simple pagings in versions of Oracle before 12 it was ... incredibly ... painful to implement paging. Effectively impossible to do automatically for any reasonably complex select statement

Thus we have a 'bodge' in place for these older versions:

  • We add the rownum to each column
  • We limit to rownum < the max we want (with a specific fieldname)
  • We throw away the rows we don't want
  • We remove the rownum filed name

It is especially 'hacky' how we sort out the 'throw away the rows we don't want. We include that in comments in the select statement

For later versions (still to be implemented) we will just use limit

create user phil;

alter user phil
    default tablespace users
    temporary tablespace temp
    quota unlimited on users;

grant create session,
    create view,
    create sequence,
    create procedure,
    create table,
    create trigger,
    create type,
    create materialized view
    to phil;
        
ALTER USER phil IDENTIFIED BY phil;
0.3.20

2 months ago

0.3.19

2 months ago

0.3.18

2 months ago

0.3.17

1 year ago

0.3.16

1 year ago

0.3.15

1 year ago

0.3.14

1 year ago

0.3.13

1 year ago

0.3.12

1 year ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.9

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.20

1 year ago

0.2.19

1 year ago

0.2.18

1 year ago

0.2.17

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago