1
0
Fork 0
Commit Graph

22978 Commits

Author SHA1 Message Date
Jan Steemann 1867d6c4de added template string generator function `aqlQuery` for generating AQL queries
This can be used to generate safe AQL queries with JavaScript parameter
variables or expressions easily:

    var name = 'test';
    var attributeName = '_key';
    var query = aqlQuery`FOR u IN users FILTER u.name == ${name} RETURN u.${attributeName}`;
    db._query(query);
2015-08-30 22:32:26 +02:00
Jan Steemann a3ee707f6f less creations of empty headers maps 2015-08-30 22:11:18 +02:00
Jan Steemann a9d63a0612 do not advertise support for delate encoding in `org/arangodb/request` by default 2015-08-29 02:46:01 +02:00
Jan Steemann 573c143398 constified 2015-08-29 02:18:02 +02:00
Jan Steemann 47695e9bd0 less headers used 2015-08-29 02:17:25 +02:00
Jan Steemann f79facc2d3 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-28 16:41:33 +02:00
Jan Steemann a253a5d320 do not halt on single-line comments 2015-08-28 16:41:14 +02:00
hkernbach 5c9bab6802 web ui: css, validation bug, graph view optimized 2015-08-28 14:50:40 +02:00
Jan Steemann dfa749ecbc less headers included 2015-08-28 13:54:02 +02:00
Michael Hackstein b591220c01 Fixed Memory calculation of new Primary Index 2015-08-28 11:02:19 +02:00
Michael Hackstein 90db96a6dc Merge branch 'devel' of github.com:arangodb/arangodb into primary_eimer 2015-08-28 10:45:50 +02:00
Michael Hackstein d87748f64e Another graph test depending on unguranteed ordering 2015-08-28 10:45:30 +02:00
Jan Steemann 22c8b5518e removed unused function 2015-08-28 10:30:23 +02:00
Michael Hackstein 3e2d5449ac The Primary index does not expose it's internals any more. 2015-08-28 10:23:43 +02:00
Michael Hackstein ef259e5088 Removed external resizing of index in document-collection 2015-08-28 10:19:39 +02:00
Michael Hackstein 4acdbff808 Primary Index does not need to free anything 2015-08-28 10:15:38 +02:00
Michael Hackstein e909c79794 Fixed a graph unit test. It assumed a specific ordering which is not guaranteed 2015-08-28 10:14:07 +02:00
hkernbach e30d6d42b9 web ui: css, scss-lint, services bugfix & optimization 2015-08-28 09:47:02 +02:00
Michael Hackstein 876853dd9f Fixed a bug with skip over primary index 2015-08-28 09:28:24 +02:00
Michael Hackstein 81fa8018b0 Improved primary index lookups to use parameter by reference instead of byPointer. less error prone. Fixed some issues with it. 2015-08-28 09:28:24 +02:00
Michael Hackstein d6839ad519 Fixed another BAD_ACCESS 2015-08-28 09:28:24 +02:00
Michael Hackstein d1ac131294 Fixed a bad access bug 2015-08-28 09:28:24 +02:00
Michael Hackstein 771a6d5143 Should have dereferenced the pointer before adding sth 2015-08-28 09:28:24 +02:00
Michael Hackstein e0e373fcf1 Removed shape counting test 2015-08-28 09:28:24 +02:00
Michael Hackstein 87b28a1277 Pleased the compiler for the new Primary Index in document-collection. 2015-08-28 09:28:23 +02:00
Michael Hackstein a786b797d7 Adoption of document-collection to new primary index 2015-08-28 09:28:23 +02:00
Michael Hackstein ea75372fbe The primary index cannot store const master pointer ;( 2015-08-28 09:28:23 +02:00
Michael Hackstein 082e49f2c1 Further adoptions of internal functionality to new Primary index 2015-08-28 09:28:23 +02:00
Michael Hackstein 610501ff7f Adopted the auth to new primary index 2015-08-28 09:28:23 +02:00
Michael Hackstein fa5e1cc66f Adopted the collection export to new primary index 2015-08-28 09:28:23 +02:00
Michael Hackstein efcaed8f6d Constified the index return values and removed obsolete functions in primary index 2015-08-28 09:28:23 +02:00
Michael Hackstein 035de49b2f Adopted the transactions to the new Primary Index implementation. Removed nth queries. 2015-08-28 09:28:22 +02:00
Michael Hackstein 6d4d41387b Implemented sequential read and any read in Transaction.h 2015-08-28 09:28:22 +02:00
Michael Hackstein 0e90f396d7 Piped through readRandom and readSequential in PrimaryIndex. Used in Transaction 2015-08-28 09:28:22 +02:00
Michael Hackstein 48240bccc1 Added findSequential and findRandom in AssocUnique. Required for PrimaryIndex 2015-08-28 09:28:22 +02:00
Michael Hackstein b3ca4fd098 Implemented all functions required for AssocUnique in Primary index 2015-08-28 09:27:47 +02:00
Michael Hackstein 0d7b939f40 Typedef for AssocUnique in Primary. Added isEqualElmElm and isEqualKeyElm implementation 2015-08-28 09:27:47 +02:00
hkernbach ebe1c36561 web ui: css, bugfixes 2015-08-27 18:39:57 +02:00
hkernbach 8d563ee7f9 web ui: css, updated font awesome to 4.4, dropdown bug, graph viewer 2015-08-27 17:13:54 +02:00
Jan Steemann 52570cbe17 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-27 15:17:05 +02:00
Jan Steemann abea80ac53 issue #1436: deflate responses encoded with `content-encoding: deflate`, too 2015-08-27 15:16:32 +02:00
hkernbach b3b2b235c8 web ui: css, query editor, scss 2015-08-27 14:44:02 +02:00
Jan Steemann 3de1fe255e Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-27 14:05:34 +02:00
Jan Steemann 3c6a1cfe66 fix potential leak 2015-08-27 14:05:27 +02:00
Alan Plum aca2072477 Fixed session default values. 2015-08-27 13:41:24 +02:00
Jan Steemann 2b6de5143b removed unused include 2015-08-27 11:17:07 +02:00
Jan Steemann 8f90eb0a78 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2015-08-27 10:58:45 +02:00
Jan Steemann fcc748d49c added slightly faster path for non-array inserts 2015-08-27 10:58:32 +02:00
Michael Hackstein b791ea09da Fixed a bug in AssocUnique. 2015-08-27 10:38:43 +02:00
Jan Steemann afb342eefd split big ExecutionBlock file into smaller files 2015-08-27 00:28:20 +02:00