summaryrefslogtreecommitdiff
path: root/src/server/db_op.py
AgeCommit message (Collapse)Author
2015-01-20DBO_rz_clone: use Link.Link_Ptr constructorLV-426
2015-01-20db_op: use correct l_idLV-426
2015-01-20DBO_diff_commit_x: supply commit_obj to block_chain opLV-426
2015-01-20avoiding meta-labled node filtering nodes by removing '__' prefixLV-426
2015-01-20DBO_block_chain__commit: more cleanupLV-426
2015-01-20db_op.py: import cleanupLV-426
2015-01-20DBO_block_chain__commit: process_result_set() - return Topo_DiffLV-426
2015-01-20DBO_block_chainCommit: set creation timestamp on commit nodesLV-426
2015-01-20DBO_block_chainCommit: cleanup param_set, generate link_idLV-426
2015-01-20DBO_block_chainCommit: return dict, exclude hash_valueLV-426
2015-01-20DB_op: update param names, docLV-426
2015-01-13server: __type is always a [str], fix #264 again correctlyAlon Levy
2015-01-12server/db_op: fix DBO_diff_commit__attr for name writeAlon Levy
Since we used delete on the __attr_write key value dictionary, the return value we cached was missing the name attribute, causing the client not to see it. Fix it with a deepcopy.
2015-01-12use q_arr with add_statement()LV-426
2015-01-11replacing namedtuples with Topo_Diff.Commit_Result_TypeLV-426
2015-01-11use q_arrLV-426
2015-01-11sort importsLV-426
2015-01-11server/Topo_Diff: use link_id_set_rm and node_id_set_rmAlon Levy
To distinguish id sets from Node/Link sets. Closes #250
2015-01-06server: fix Topo_Diff_Result usageAlon Levy
The reason json failed was that we were using a class instead of an instance, i.e. clazz = namedtuple('bla', ['field1', 'field2']) instance = clazz(field1='foo', field2='bar')
2015-01-06adapt to link meta-attribute '__type' useLV-426
2015-01-06DBO_diff_commit__topo: settle on namedtuple as return typeLV-426
2015-01-06DBO_diff_commit__topo: topo_diff return valueLV-426
2015-01-06DBO_add_link_set(): adapt to dict return typeLV-426
2015-01-06DBO_add_node_set(): adapt to dict return typeLV-426
2015-01-06DB_op: add_db_query()LV-426
2015-01-06used meta_attr='__type' for links (nodes still use '__label_set')LV-426
2015-01-06DBO_add_node_set, DBO_add_link_set: order returned list by idLV-426
2015-01-06DBO_topo_diff_commit -> DBO_diff_commit__topo, same for __attrLV-426
2015-01-06DBO_attr_diff_commit: merge chain_commit_op DB queryLV-426
2015-01-06mv statement_to_REST_form() into REST DB driverLV-426
2015-01-06add_statement(): use DB_Query classLV-426
2015-01-06gen_query_create_from_link_map(): use q_arr, switch to dict return objectLV-426
2015-01-06improve op ordering (alphabetical)LV-426
2015-01-06server: DBO_topo_diff_commit returns just ids of added nodesAlon Levy
2015-01-05node create query generation: return named dictLV-426
2015-01-05DB_op#add_statement(): support query addition via query arrayLV-426
2015-01-05DB_composed_op docLV-426
2015-01-05DBO_rz_clone: filter meta nodes (nodes with meta labels) from result setLV-426
2015-01-05DBO_rz_clone: return Topo_DiffLV-426
2015-01-05calc_blob_hash(): use empty string as default blobLV-426
2015-01-05DBO_block_chain__list()LV-426
2015-01-05DBO_block_chain__commit: include hash in return valueLV-426
2015-01-05rename DBO_chain_commit_block -> DBO_block_chain__commitLV-426
2015-01-05use meta attribute '__' prefix for __HEAD, __Parent, __Commit labelsLV-426
2015-01-04DBO_chain_commit_block: initial git-inspired commit chain conceptLV-426
2015-01-04refactor: db_op, db_controller separationLV-426