Permalink
Commits on Apr 1, 2015
  1. Tweak next-month and last-month to be sure they return a date in the

    next or prev month.
    
     * Previously you might get 2 months ahead or the beginning of the
       current month
     * add some basic tests
     * make tests run in the face of existing db connections
    
    re ADWolf:#1254 (1)
    bobbysmith007 committed Apr 1, 2015
Commits on Dec 2, 2014
  1. combined value to db-type coersion routines into single

    `coerce-value-to-db-type` fn
    
    db-objs makes use of this as does :clsql-helper-slot-coercer system
    (which defines a (setf closer-mop:slot-value-using-class) method)
    using the same coersion routine.
    
    re AccelerationNet/clsql-helper#3
    re fisxoj/clsql-helper
    re Programming:#449 (1.75)
    bobbysmith007 committed Dec 2, 2014
Commits on Oct 14, 2014
  1. added unsaved quote

    bobbysmith007 committed Oct 14, 2014
Commits on Jun 26, 2014
Commits on Jun 23, 2014
  1. export fns

    bobbysmith007 committed Jun 23, 2014
Commits on Jun 20, 2014
  1. Auto merge recency-errors

    instead of failing because of a recency error, do our best to resolve
    any errors we can, save if we changed anything and then raise
    merge-conflicts that still exist
    bobbysmith007 committed Jun 20, 2014
Commits on Jun 19, 2014
Commits on Apr 25, 2014
  1. make it easier to pass null explicitly and still get the default value

    of *connection-settings* instead of rebinding that to nil
    
    Allows macros to expand to passing nil instead of having to expand
    without the arg
    bobbysmith007 committed Apr 25, 2014
Commits on Feb 27, 2014
Commits on Jan 31, 2014
  1. handle initialization dirty slots so inserts can only send specified …

    …columns re ADWolf:#1207
    bobbysmith007 committed Jan 31, 2014
Commits on Jan 30, 2014
Commits on Jan 29, 2014
  1. better view-classes-and-storable-slots override for

    dirty-db-slots-mixin, now accounts for update-instance-from-record
    
    Also: only consider key/base slots when looking for dirty slots
    bobbysmith007 committed Jan 29, 2014
Commits on Jan 28, 2014
Commits on Jan 27, 2014
  1. made with-database-context to mirror with-a-database-context and

    rewrote with-database-function to call it (With a deprecation warning)
    bobbysmith007 committed Jan 27, 2014
Commits on Jan 17, 2014
  1. Added a recency mixin that errors if you try to save an object after

    it has been saved by someone else
    
    re ADWolf:#1207 (2.5)
    bobbysmith007 committed Jan 17, 2014
Commits on Jan 13, 2014
  1. named functions for bodys, with-a-transaction and dynamic-extent decl…

    …arations on body-fns
    
    re ADWolf:#1201 and ADWolf:#1205
    bobbysmith007 committed Jan 13, 2014
Commits on Jan 10, 2014
  1. working on connection-database type and connection aquisition macros

    The goal is to support many different named connection specs and allow
    with-database to find the spec by name and with-a-database to
    correctly find already open connections matching that spec
    bobbysmith007 committed Jan 10, 2014
Commits on Jan 1, 2014
Commits on Dec 26, 2013
  1. better doc strings

    bobbysmith007 committed Dec 26, 2013
  2. Remove warning from db-select-scalar which is a valid name for a

    function which does allow you to select a scalar.
    
    {{{
    
    ;; returns 1 val - the traditional expectation of "scalar" db
    ;; functions
    (db-select-scalar 'servicename :from 'services
      :where [= [serviceid] 1200])
    
    ;; returns 1 row - the not usually the expectation of "scalar" db
    ;; functions, but the same exact code
    (db-select-scalar 'services :where [= [serviceid] 1200])
    
    ;; Thus db-select-first was added simply to have a second name that
    ;; matches expectations
    
    }}}
    bobbysmith007 committed Dec 26, 2013
Commits on Dec 9, 2013
Commits on Dec 5, 2013
Commits on Oct 14, 2013
  1. fixing load errors

    bobbysmith007 committed Oct 14, 2013