README update
This commit is contained in:
parent
a2946ede0a
commit
71f844850e
|
@ -59,7 +59,7 @@
|
||||||
f s lev1=$o(data(lev1)) q:lev1="" d
|
f s lev1=$o(data(lev1)) q:lev1="" d
|
||||||
. f s lev2=$o(data(lev1,lev2)) q:lev2="" d
|
. f s lev2=$o(data(lev1,lev2)) q:lev2="" d
|
||||||
. . f s lev3=$o(data(lev1,lev2,lev3)) q:lev3="" d
|
. . f s lev3=$o(data(lev1,lev2,lev3)) q:lev3="" d
|
||||||
. . . w data(lev1,lev2,lev3),!
|
. . . w "(",lev1,",",lev2,",",lev3,") = ",data(lev1,lev2,lev3),!
|
||||||
|
|
||||||
; fetch posts by user
|
; fetch posts by user
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
f s lev1=$o(data(lev1)) q:lev1="" d
|
f s lev1=$o(data(lev1)) q:lev1="" d
|
||||||
. f s lev2=$o(data(lev1,lev2)) q:lev2="" d
|
. f s lev2=$o(data(lev1,lev2)) q:lev2="" d
|
||||||
. . f s lev3=$o(data(lev1,lev2,lev3)) q:lev3="" d
|
. . f s lev3=$o(data(lev1,lev2,lev3)) q:lev3="" d
|
||||||
. . . w data(lev1,lev2,lev3),!
|
. . . w "(",lev1,",",lev2,",",lev3,") = ",data(lev1,lev2,lev3),!
|
||||||
|
|
||||||
; fetch a comment
|
; fetch a comment
|
||||||
|
|
||||||
|
|
18
README.md
18
README.md
|
@ -236,30 +236,30 @@ For further details also visit:
|
||||||
|
|
||||||
### [`basic-sql-blog/Main.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/Main.m)
|
### [`basic-sql-blog/Main.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/Main.m)
|
||||||
|
|
||||||
|
Category fetched:
|
||||||
|
description: Foo
|
||||||
|
|
||||||
Post fetched:
|
Post fetched:
|
||||||
slug: lorem-ipsum
|
slug: lorem-ipsum
|
||||||
title: Lorem ipsum
|
title: Lorem ipsum
|
||||||
description: Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
description: Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||||
|
|
||||||
Post fetched:
|
Posts fetched by category:
|
||||||
slug: donec-pede-justo
|
(3,3,2) = curabitur-ullamcorper-ultricies~Curabitur ullamcorper ultricies~Curabitur ullamcorper ultricies nisi.
|
||||||
title: Donec pede justo
|
(4,3,2) = donec-vitae-sapien~Donec vitae sapien~Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante.
|
||||||
description: Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
|
|
||||||
|
|
||||||
Posts fetched by user:
|
Posts fetched by user:
|
||||||
lorem-ipsum~Lorem ipsum~Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
(1,1,1) = lorem-ipsum~Lorem ipsum~Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||||
donec-pede-justo~Donec pede justo~Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
|
(2,1,1) = donec-pede-justo~Donec pede justo~Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
|
||||||
|
|
||||||
Comment fetched:
|
Comment fetched:
|
||||||
description: This is awesome! Thank you.
|
description: This is awesome! Thank you.
|
||||||
|
|
||||||
Comment fetched:
|
|
||||||
description: Thank you so much for sharing this.
|
|
||||||
|
|
||||||
Database successfully dropped!
|
Database successfully dropped!
|
||||||
|
|
||||||
For further details also visit:
|
For further details also visit:
|
||||||
|
|
||||||
|
- [`Category.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Category.m)
|
||||||
- [`Comment.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Comment.m)
|
- [`Comment.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Comment.m)
|
||||||
- [`Database.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Database.m)
|
- [`Database.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Database.m)
|
||||||
- [`Post.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Post.m)
|
- [`Post.m`](https://github.com/programarivm/mumps-examples/blob/master/04-databases/basic-sql-blog/routines/Post.m)
|
||||||
|
|
Loading…
Reference in New Issue