Skip to content

Commit

Permalink
Added more documentation
Browse files Browse the repository at this point in the history
Minor addition to s-sql to handle some postgis geometry types
  • Loading branch information
sabracrolleton committed Jul 18, 2021
1 parent 1125908 commit b34ecaf
Show file tree
Hide file tree
Showing 8 changed files with 1,289 additions and 80 deletions.
14 changes: 7 additions & 7 deletions doc/dao-classes.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/dao-classes.org
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ The slot definitions in a table have several additional optional keyword paramet
the departments table:
#+begin_src lisp
(defclass test-data-col-identity-with-references ()
((id :col-type integer :col-identity t :accessor id)
((id :col-type integer :col-identity t :accessor id :col-primary-key t)
(username :col-type text :unique t :initarg :username :accessor username)
(department-id :col-type integer :col-references ((departments id))
:initarg :department-id :accessor department-id))
Expand Down Expand Up @@ -316,7 +316,7 @@ lists, but one will export to a Postgresql column that contains strings and the
will export to a Postgresql column that contains arrays of integers.
#+begin_src lisp
(defclass listy ()
((id :col-type integer :col-identity t :accessor id)
((id :col-type integer :col-identity t :accessor id :col-primary-key t)
(name :col-type text :col-unique t :col-check (:<> 'name "")
:initarg :name :accessor name)
(r-list :col-type (or text db-null) :initarg :r-list :accessor r-list
Expand Down
Loading

0 comments on commit b34ecaf

Please sign in to comment.