Fluree: Beyond the DatabaseBuild better applications with a tamper-proof blockchain ledger, semantic graph query engine, linearly scalable query edge servers, and co-resident data security DownloadTo download the extension, search the VS Code Extension: Marketplace for ExtensionWelcome to the Please note this is a beta version of the Fluree extension. Any issues and feature ideas can be sent to support@flur.ee. You can also join our Slack channel. The is extension version Connecting to a DatabaseTo connect to a database, you must have a Fluree database running. You can either use a config file or manually specify your configuration details. Config FileIf you want to use a config file, create a
Once you create this file, you will need to run the command: Set ConfigTo connect to a database, you will need to run the command To view the Command Palette, you can click on If you have a valid If you do not, you will be asked to input your database's Get ConfigYou can run the command, QueryTo issue a query, simply select a valid query with your cursor, and run the command, Note that the contents of We only support issuing queries in History, Block, Multi-QueryTo issue a query of the types - block, history, or multi-query, simply select a valid query with your cursor, and run the command, Note that the contents of Gen FlakesTo issue gen-flakes, simply select a valid transaction with your cursor, and run the command, Gen-flakes returns the list of flakes that would be added to a ledger if a given transaction is issued. The body of this request is simply the transaction. Note that this is a test endpoint. This does NOT write the returned flakes to the ledger. Note: this will only work with Fluree 0.11.0 and higher. Query WithTo issue query-with, simply select a valid query-with statement (a map with Gen-flakes returns the list of flakes that would be added to a ledger if a given transaction is issued. The body of this request is simply the transaction. Note that this is a test endpoint. This does NOT write the returned flakes to the ledger. Query-with returns the results of a query using the existing database flakes, including flakes that are provided with the query. The request expects a map with two key-value pairs:
The t on the flakes provided has to be current with the latest database. For example, if you used gen-flakes, but then issued a transaction, you will need to use gen-flakes again to generate new valid flakes. Note: this will only work with Fluree 0.11.0 and higher. Test Transact WithTo issue test-transact-with, simply select a valid test-transact-with statement (a map with Given a valid set of flakes that could be added to the database at a given point in time and a transaction, test-transact-with returns the flakes that would be added to a ledger if a given transaction is issued. The request expects a map with the following key-value pairs:
The t on the flakes provided has to be current with the latest database. For example, if you used gen-flakes, but then issued a transaction, you will need to use gen-flakes again to generate new valid flakes. Note: this will only work with Fluree 0.11.0 and higher. TransactTo issue a transaction, simply select a valid transaction with your cursor, and run the command, Note that the contents of Smart Function HelpIssue the command, |