Permalink
Commits on Jan 14, 2019
  1. add go11 (#39)

    Fs02 committed Jan 14, 2019
Commits on Jan 6, 2019
  1. emulate nested transaction using savepoint (#37)

    Fs02 committed Jan 6, 2019
    * emulate nested transaction using savepoint
    
    * tests for nested transaction
    
    * fix error message
    
    * fix postgres adapter
    
    * fix stackoverflow
Commits on Sep 11, 2018
  1. Added motivation

    Fs02 committed Sep 11, 2018
Commits on Sep 8, 2018
  1. handle changes with nil value (#29)

    Fs02 committed Sep 8, 2018
Commits on Aug 31, 2018
  1. fix params with custom type should be converted to requested type (#28)

    Fs02 committed Aug 31, 2018
    * fix params with custom type should be converted to requested type
    
    * remove comment
Commits on Aug 21, 2018
  1. Builtin Json params support (#27)

    Fs02 committed Aug 21, 2018
    * added param interface and map implementation
    
    * updated param type
    
    * moved params to its own package
    
    * use untyped nil
    
    * use reflect make slice
    
    * added json params support
    
    * updated Params interface
    
    * added example test
Commits on Aug 17, 2018
  1. Fix nested null preload (#26)

    Fs02 committed Aug 17, 2018
Commits on Aug 5, 2018
  1. Update README.md

    Fs02 committed Aug 5, 2018
Commits on Jun 29, 2018
  1. fix scanning nil to non ptr field (#24)

    Fs02 committed Jun 29, 2018
Commits on Jun 2, 2018
  1. update readme

    Fs02 committed Jun 2, 2018
  2. added example

    Fs02 committed Jun 2, 2018
  3. Escape query (#23)

    Fs02 committed Jun 2, 2018
    * use shared config struct
    
    * escape query for insert update and delete
    
    * escape field on query builder
    
    * wip aggregate function
    
    * fix count on postgres
    
    * test for query
    
    * escape function argument and cache escaped field
    
    * combine limit and offset
    
    * added test for aggregate
    
    * fix tests
Commits on May 31, 2018
Commits on May 30, 2018
  1. Changeset constraint support (#21)

    Fs02 committed May 30, 2018
    * use separated constraint check table
    
    * fix insert without values
    
    * init foreign key constraint
    
    * add check constraint
    
    * use Kind to differentiate errors
    
    * added constraint definition
    
    * wip constraints
    
    * test for constraint get error
    
    * added more test for transform error
    
    * use example naming convention for test
    
    * refactor sql.New to use function arguments
    
    * reuse builder
    
    * differentiate name
    
    * rename to differentiate record
    
    * Revert "rename to differentiate record"
    
    This reverts commit 2699d3c.
    
    * fix name
    
    * fix typo
    
    * fix repo transaction
Commits on May 23, 2018
  1. expose repo adapter (#19)

    Fs02 committed May 23, 2018
Commits on May 22, 2018
  1. validate required check for nil or blank string, and also validates a…

    Fs02 committed May 22, 2018
    …gaints current values (#18)
  2. fix preloading on pointer field (#17)

    Fs02 committed May 22, 2018
    * fix preloading ptr
    
    * refactor collect ids as it own function
Commits on May 21, 2018
  1. fix type convertion on changeset cast (#16)

    Fs02 committed May 21, 2018
    * fix type convertion on changeset cast
    
    * refactor condition
    
    * use early return
Commits on May 19, 2018
  1. Improve changeset entrypoint (#15)

    Fs02 committed May 19, 2018
    * only mark changes if value is not equal
    
    * renamed original change to convert
    
    * accept changeset as cast params to allow compossable changeset and renamed entity term to data
    
    * added test for casting existing changeset
    
    * exctract cast field to specific internal function
    
    * refactor attempt
    
    * rename
Commits on May 17, 2018
  1. fix changeset: nil changes should not marked as invalid (#14)

    Fs02 committed May 17, 2018
    * fix casting nil
    
    * handle nil interface
Commits on May 16, 2018
  1. added error context to panic (#13)

    Fs02 committed May 16, 2018
Commits on May 14, 2018
  1. Detect field for unique constraint error (#12)

    Fs02 committed May 14, 2018
    * detect field for unique constraint error
    
    * use must
    
    * update
    
    * UpdateConstraint
    
    * refactor constraint check
    
    * refactor
    
    * added test
Commits on May 12, 2018
  1. make slice instead of set slice to zero (#11)

    Fs02 committed May 12, 2018
Commits on May 11, 2018
  1. wrong json name

    Fs02 committed May 11, 2018
  2. Merge pull request #10 from Fs02/fix-validate-min

    Fs02 committed May 11, 2018
    fix validate min
  3. fix validate min

    Fs02 committed May 11, 2018
Commits on May 3, 2018
  1. direct documentation to github pages

    Fs02 committed May 3, 2018
Commits on Apr 29, 2018
  1. fix typo

    Fs02 committed Apr 29, 2018
  2. added FindBy

    Fs02 committed Apr 29, 2018
  3. package docs

    Fs02 committed Apr 29, 2018
Commits on Apr 25, 2018
  1. Update README.md

    Fs02 committed Apr 25, 2018
Commits on Apr 23, 2018
  1. Merge pull request #9 from Fs02/eager-loading

    Fs02 committed Apr 23, 2018
    Eager loading
  2. added field tag to readme

    Fs02 committed Apr 23, 2018
  3. added association preloading

    Fs02 committed Apr 23, 2018
  4. refactor get proload id

    Fs02 committed Apr 23, 2018