Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fukamachi/ponzu.db

O/R Mapper, a part of Ponzu Framework, for Common Lisp
https://github.com/fukamachi/ponzu.db

Last synced: 13 days ago
JSON representation

O/R Mapper, a part of Ponzu Framework, for Common Lisp

Awesome Lists containing this project

README

        

# PonzuDB - O/R Mapper for Common Lisp

PonzuDB is an O/R Mapper for Common lisp, based on CLSQL.

## Usage

(deftable person ()
((id
:db-kind :key
:type integer)
(name
:type string
:initform ""
:accessor name)))

(let ((me (make-instance 'person)))
(setf (name me) "Eitarow Fukamachi")
(save me))

(fetch person :first)
;;=> #

## Schema Definition

## Find Records

## New Records

## Delete Records

## Functions
### Table

* deftable
* create
* fetch

### Record

* save
* destroy
* attributes

## Author

* Eitarow Fukamachi

## Copyright

Copyright (c) 2011 Eitarow Fukamachi

## License

Licensed under the LLGPL License.