Skip to content

where to add prefixes to column? #495

Closed

Description

@ddesign84

where to add prefixes to column?

var Person = db.define('person', {
  name : String     //   database column = col_name
});

Activity

  1. dxg commented on May 7, 2014

    @dxg
    Collaborator

    I think what you're looking for is addressed in #488 (amongst other things). Hopefully it will be merged soon.

  2. dxg commented on May 7, 2014

    @dxg
    Collaborator

    This should now be possible in master.
    See the wiki for details.
    A new official version will be released in the near future.

    Basically you need to do:

    var Person = db.define('person', {
      name : { type: 'text', mapsTo: 'col_name' }
    });
  3. ddesign84 commented on May 8, 2014

    @ddesign84
    Author

    thank you very much.

  4. added a commit that references this issue on May 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions