We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6beb33 + 5c49e5c commit 0d3482cCopy full SHA for 0d3482c
1 file changed
lib/rdf/mongo.rb
@@ -155,6 +155,7 @@ def supports?(feature)
155
end
156
157
def insert_statement(statement)
158
+ raise ArgumentError, "Statement #{statement.inspect} is incomplete" if statement.incomplete?
159
st_mongo = statement.to_mongo
160
st_mongo[:ct] ||= :default # Indicate statement is in the default graph
161
#puts "insert statement: #{st_mongo.inspect}"
0 commit comments