Skip to content

Conversation

@dimitri-yatsenko
Copy link
Member

@dimitri-yatsenko dimitri-yatsenko commented Apr 6, 2016

Restrictions by AndLists and OrLists now work correctly

  • rel & [] is equivalent to rel & dj.OrList()
  • rel & [] produces the empty relation
  • rel - [] has no effect
  • rel & dj.AndList((cond1, cond2)) is equivalent to rel & cond1 & cond2
  • rel & dj.AndList() has no effect
  • rel - dj.AndList() produces the empty relation

Also, rel.restriction is now of type dj.AndList.

Also, RelationalOperand.project has been renamed to RelationalOperand.proj (issue #202) with project aliased to proj for backward compatibility.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 75.487% when pulling eea92aa on dimitri-yatsenko:master into ddad752 on datajoint:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 75.575% when pulling b141106 on dimitri-yatsenko:master into ddad752 on datajoint:master.

@eywalker
Copy link
Contributor

eywalker commented Apr 7, 2016

Looks good :)

@eywalker eywalker closed this Apr 7, 2016
@eywalker eywalker reopened this Apr 7, 2016
@eywalker eywalker merged commit baa8795 into datajoint:master Apr 7, 2016
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.

3 participants