Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dal.py: Table class: validate_and_update_or_insert method created, validate_and_update minor changes #388

Merged
merged 4 commits into from
Mar 8, 2014
Merged

Conversation

gitanoqevaporelmundoentero

dal.py: Table class: validate_and_update_or_insert method created, and minor changes in validate_and_update

· these methods should be working even in case of tables with multiple primary keys
· the validate_and_update_or_insert method assumes that in case that no primary keys are provided, all table fields marked as "required" will be used for searching the record to update (or to insert, in case that the record doesn't yet exist)

@coveralls
Copy link

Coverage Status

Coverage decreased (-3.66%) when pulling abd72f8 on gitanoqevaporelmundoentero:master into 1abdf72 on web2py:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 0b7f663 on gitanoqevaporelmundoentero:master into 1abdf72 on web2py:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 0b7f663 on gitanoqevaporelmundoentero:master into 1abdf72 on web2py:master.

mdipierro added a commit that referenced this pull request Mar 8, 2014
dal.py: Table class: validate_and_update_or_insert method created, validate_and_update minor changes
@mdipierro mdipierro merged commit c23706b into web2py:master Mar 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants