«« Next » « Previous
«« Next » « Previous

Link Details

Link 80216 thumbnail

By jober
via artfulcode.net
Submitted: May 09 / 14:57

Django has a very handy model method in its database library called get_or_create, which either creates a new record using the keyword arguments passed as field values or gets a record using the arguments passed. Here is a simple way to implement a similar function in lisp.
  • 1
  • 0
  • 90
  • 10

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)