{"id":3119,"date":"2026-01-15T20:20:04","date_gmt":"2026-01-16T02:20:04","guid":{"rendered":"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/"},"modified":"2026-11-09T09:18:34","modified_gmt":"2026-11-09T15:18:34","password":"","slug":"anvil-works-duckdb-integration","status":"publish","type":"docs","link":"https:\/\/querystreams.com\/id\/docs\/anvil-works-duckdb-integration\/","title":{"rendered":"Sinkronkan DuckDB ke Anvil. Bekerja sesuai jadwal."},"content":{"rendered":"\n<article class=\"qs-d qs-d--auto\" data-src=\"duckdb\" data-dest=\"anvil\" style=\"--qs-src:255 241 0;--qs-src-deep:13 13 13;--qs-src-ink:127 120 0;--qs-src-tint:#FFF100;--qs-dst:229 67 46;--qs-dst-tint:#ff9e91\">\n<header class=\"qs-d-hero\"><div class=\"qs-d-hero__pair\"><a class=\"lnk\" href=\"https:\/\/querystreams.com\/database-integrations\/duckdb\/\" aria-label=\"DuckDB: all integrations\" data-qs-cta=\"hub_page\"><img decoding=\"async\" class=\"src\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2025\/11\/icon-duckdb.png\" alt=\"\" width=\"44\" height=\"44\" loading=\"eager\"><\/a><i class=\"fa-solid fa-arrow-right\" aria-hidden=\"true\"><\/i><a class=\"lnk\" href=\"https:\/\/querystreams.com\/features\/automation-integration\/\" aria-label=\"Scheduled syncs to Anvil.works\" data-qs-cta=\"feature\"><img decoding=\"async\" class=\"dst\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/01\/icon-anvilworks.png\" alt=\"\" width=\"44\" height=\"44\" loading=\"eager\"><\/a><\/div><span class=\"qs-d-eyebrow\">Automation &middot; DuckDB to Anvil.works<\/span><p class=\"qs-d-hero__title\">Keep <em class=\"dst\">Anvil.works<\/em> in step with your DuckDB file, <em class=\"src\">on a schedule<\/em><\/p><p class=\"qs-d-hero__sub\">Write the SQL once. Query Streams runs it on your schedule, anything from every five minutes to weekly, and writes the rows into your Anvil.works data table. Match rows by a key so edits land in place and rows that left the query are removed, or simply append. No Zapier, no scripts, no exports. About fifteen minutes the first time, and the Free plan covers it.<\/p><div class=\"qs-d-hero__meta\"><span class=\"qs-d-pill\"><i class=\"fa-solid fa-clock\"><\/i> About 15 minutes<\/span><span class=\"qs-d-pill\"><i class=\"fa-solid fa-user\"><\/i> No coding needed<\/span><span class=\"qs-d-pill src\"><i class=\"fa-solid fa-shield-halved\"><\/i> File stays where it is<\/span><span class=\"qs-d-pill\"><i class=\"fa-solid fa-rotate\"><\/i> Every 5 minutes to weekly<\/span><\/div><\/header>\n<div class=\"qs-d-support\" data-zone=\"mint\" data-qs-seen=\"support\"><span class=\"qs-d-chip\"><i class=\"fa-solid fa-life-ring\"><\/i><\/span><div class=\"qs-d-support__body\"><strong>Stuck at any point? Just ask us.<\/strong> Open <a href=\"https:\/\/my.querystreams.com\/support\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"support\">Support<\/a> in Query Streams (top-right menu &rarr; Support) and send us a message. Real people read it, and &ldquo;I don&rsquo;t know what this screen is asking for&rdquo; is a perfectly good question.<\/div><\/div>\n\n<h2 id=\"result\">What you&rsquo;ll end up with<\/h2>\n<p class=\"qs-d-lead\"><img decoding=\"async\" class=\"qs-d-lead__icon\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2025\/11\/icon-duckdb.png\" alt=\"DuckDB logo\" width=\"28\" height=\"28\">An Anvil.works data table that holds the rows your DuckDB query returns and is brought up to date on a schedule, every five minutes to weekly, with a receipt of what changed on every run. Like this:<\/p>\n<div class=\"qs-d-receipt\" role=\"img\" data-qs-seen=\"result\" aria-label=\"A finished Query Streams automation: the DuckDB query ran on schedule and Anvil.works now holds the same rows, with a receipt of what changed\"><div class=\"qs-d-receipt__bar\"><img decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/01\/icon-anvilworks.png\" alt=\"\" width=\"18\" height=\"18\"> Orders to Anvil.works <span class=\"qs-d-receipt__status\">Active<\/span><\/div><div class=\"qs-d-receipt__pane\"><div class=\"qs-d-receipt__main\"><div class=\"qs-d-receipt__hdr\">Daily sync &middot; 09:00 &middot; Anvil.works <span>1,643 rows &middot; 8.8s<\/span><\/div><div class=\"qs-d-receipt__line\"><b>1,627<\/b><span>rows in sync<\/span><small>matched by key &middot; nothing to do<\/small><\/div><div class=\"qs-d-receipt__line new\"><b>11<\/b><span>new<\/span><small>appended under your headers, same columns<\/small><\/div><div class=\"qs-d-receipt__line upd\"><b>5<\/b><span>updated<\/span><small>prices changed in DuckDB, 5 rows updated in place<\/small><\/div><div class=\"qs-d-receipt__line del\"><b>0<\/b><span>removed<\/span><small>rows leaving the query are removed from the data table<\/small><\/div><\/div><aside class=\"qs-d-receipt__side\"><div class=\"t\"><img decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2025\/08\/cropped-Transparent-01.png\" alt=\"\" width=\"16\" height=\"16\"> Automation<\/div><div class=\"row\"><span>Source<\/span><span class=\"conn\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2025\/11\/icon-duckdb.png\" alt=\"\" width=\"14\" height=\"14\"> My DuckDB file<\/span><\/div><div class=\"row\"><span>Target<\/span><span>Orders &middot; Anvil.works<\/span><\/div><div class=\"row\"><span>Key<\/span><span>order_id<\/span><\/div><div class=\"row\"><span>Schedule<\/span><span>Daily at 9 AM<\/span><\/div><div class=\"row\"><span>Last sync<\/span><span>2m ago<\/span><\/div><div class=\"row\"><span>Next run<\/span><span>tomorrow 09:00<\/span><\/div><span class=\"go\"><i class=\"fa-solid fa-play\"><\/i> Run<\/span><\/aside><\/div><\/div>\n<p>DuckDB holds your data in a file. Your team works in Anvil.works. The usual bridge is a hand-written import in your app that breaks quietly and copies one row at a time. Query Streams Automation does it differently: the Agent that already reads your DuckDB file runs your saved SQL on a schedule and writes the whole result into Anvil.works in one pass, matching rows by a key so the data table stays correct rather than growing.<\/p>\n<figure class=\"qs-d-figure\" data-qs-seen=\"flow\"><svg viewBox=\"0 0 900 210\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" role=\"img\" aria-label=\"WHERE THE FILE LIVES: your DuckDB file and the Query Streams Agent, which runs the saved query on the schedule. Query Streams carries the rows over an encrypted link to Anvil.works and writes them into your data table.\"><defs><marker id=\"qsArrowA\" viewBox=\"0 0 10 10\" refX=\"9\" refY=\"5\" markerWidth=\"8\" markerHeight=\"8\" orient=\"auto-start-reverse\"><path d=\"M0,0 L10,5 L0,10 z\" fill=\"#6589A6\"\/><\/marker><\/defs><rect x=\"14\" y=\"14\" width=\"380\" height=\"166\" rx=\"16\" fill=\"#ffffff\" stroke=\"#FFF100\" stroke-width=\"2\" stroke-dasharray=\"6 5\"\/><text x=\"32\" y=\"38\" font-family=\"Poppins, sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#0D0D0D\" letter-spacing=\"1.5\">WHERE THE FILE LIVES<\/text><text x=\"32\" y=\"54\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#7D8688\">office computer, a server, or the one at home<\/text><rect x=\"36\" y=\"72\" width=\"160\" height=\"78\" rx=\"12\" fill=\"#FFF100\" fill-opacity=\".12\" stroke=\"#FFF100\" stroke-width=\"1.5\"\/><text x=\"116\" y=\"104\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#0D0D0D\">Your DuckDB file<\/text><text x=\"116\" y=\"126\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"12\" fill=\"#FFF100\">sales.duckdb &middot; stays here<\/text><rect x=\"212\" y=\"72\" width=\"160\" height=\"78\" rx=\"12\" fill=\"#13323B\"\/><text x=\"292\" y=\"99\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#ffffff\">Query Streams Agent<\/text><text x=\"292\" y=\"118\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11.5\" fill=\"#a9dfcb\">runs the saved query<\/text><text x=\"292\" y=\"134\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11.5\" fill=\"#a9dfcb\">on your schedule<\/text><line x1=\"198\" y1=\"111\" x2=\"208\" y2=\"111\" stroke=\"#6589A6\" stroke-width=\"2.5\" marker-end=\"url(#qsArrowA)\"\/><line x1=\"394\" y1=\"111\" x2=\"428\" y2=\"111\" stroke=\"#6589A6\" stroke-width=\"2.5\" stroke-dasharray=\"4 4\" marker-end=\"url(#qsArrowA)\"\/><rect x=\"432\" y=\"80\" width=\"100\" height=\"62\" rx=\"31\" fill=\"#66C0A3\"\/><text x=\"482\" y=\"106\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"12\" font-weight=\"700\" fill=\"#0b2027\">Query Streams<\/text><text x=\"482\" y=\"124\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"10.5\" fill=\"#0b2027\">encrypted link<\/text><line x1=\"534\" y1=\"111\" x2=\"568\" y2=\"111\" stroke=\"#6589A6\" stroke-width=\"2.5\" stroke-dasharray=\"4 4\" marker-end=\"url(#qsArrowA)\"\/><text x=\"482\" y=\"166\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#6589A6\">rows only &middot; written, not read back by us<\/text><rect x=\"572\" y=\"14\" width=\"314\" height=\"166\" rx=\"16\" fill=\"#ffffff\" stroke=\"#E5432E\" stroke-width=\"2\" stroke-dasharray=\"6 5\"\/><text x=\"590\" y=\"38\" font-family=\"Poppins, sans-serif\" font-size=\"11\" font-weight=\"600\" fill=\"#1A1A2E\" letter-spacing=\"1.5\">WHERE YOUR TEAM WORKS<\/text><text x=\"590\" y=\"54\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#7D8688\">inside your Anvil app<\/text><rect x=\"594\" y=\"72\" width=\"270\" height=\"78\" rx=\"12\" fill=\"#E5432E\" fill-opacity=\".12\" stroke=\"#E5432E\" stroke-opacity=\".6\"\/><text x=\"729\" y=\"104\" text-anchor=\"middle\" font-family=\"Poppins, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#1A1A2E\">Anvil.works<\/text><text x=\"729\" y=\"126\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"12\" fill=\"#1A1A2E\">your data table, updated in place<\/text><\/svg><figcaption>The Agent lives with your data and runs the query when the schedule says so. Anvil.works just receives the rows. Nobody has to press anything.<\/figcaption><\/figure>\n\n<h2 id=\"need\">What you&rsquo;ll need<\/h2>\n<div class=\"qs-d-grid\" data-qs-seen=\"need\"><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-user-plus\"><\/i><\/span><h3>A Query Streams account<\/h3><p>The Free plan is enough for this guide. Sign up at <a href=\"https:\/\/my.querystreams.com\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"signup\">my.querystreams.com<\/a>.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"src\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2025\/11\/icon-duckdb.png\" alt=\"\" width=\"22\" height=\"22\" loading=\"lazy\"><\/span><h3>DuckDB connected through the Agent<\/h3><p>The Agent installed on the computer that holds your DuckDB file, or on one that reads it from a network share, with the connection added in Data Agents. Not done yet? <a href=\"https:\/\/querystreams.com\/docs\/how-to-connect-duckdb-to-google-sheets\/\" data-qs-cta=\"connector_guide\">Connect DuckDB first<\/a>; it takes about ten minutes.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-floppy-disk\"><\/i><\/span><h3>A saved query<\/h3><p>The SELECT you want to keep in sync, saved in <a href=\"https:\/\/my.querystreams.com\/query-builder\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"query_builder\">Query Builder<\/a>. Step 1 below shows one. If you want changed rows updated in place, include a column that is unique per row, like an ID.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/querystreams.com\/wp-content\/uploads\/2026\/01\/icon-anvilworks.png\" alt=\"\" width=\"22\" height=\"22\" loading=\"lazy\"><\/span><h3>Your Anvil.works login<\/h3><p>Enter the HTTPS address of your Anvil app and the connector key you set in the app with connector.init_connector(&quot;key&quot;) from the querystreams module. Query Streams checks the app answers and lists its data tables.<\/p><\/div><\/div><div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-circle-info\"><\/i><p><strong>Where does the work happen?<\/strong> On the computer that runs the Agent. It runs the query on the schedule and writes the rows to Anvil.works, so that computer needs to stay on. Your browser can be closed. Query Streams itself never stores the rows.<\/p><\/div>\n<div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-network-wired\"><\/i><p><strong>File on another computer?<\/strong> The Agent does not have to run on the computer that holds your DuckDB file: it can read the file from a network share. <a href=\"#network-share\">Reaching a file on a network share<\/a>, below, shows what that takes.<\/p><\/div>\n\n<h2 id=\"steps\">Set it up in six steps<\/h2>\n<ol class=\"qs-d-steps\" data-qs-seen=\"steps\">\n    <li class=\"qs-d-step\" data-qs-step=\"1\" id=\"step-1\">\n      <h3>Save the query you want to keep in sync<\/h3>\n      <p>Open <a href=\"https:\/\/my.querystreams.com\/query-builder\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"query_builder\">Query Builder<\/a>, pick your DuckDB connection (not connected yet? <a href=\"https:\/\/querystreams.com\/docs\/how-to-connect-duckdb-to-google-sheets\/\" data-qs-cta=\"connector_guide\">start here<\/a>), and write the SELECT that returns exactly the rows and columns you want in Anvil.works. This one pulls a few columns from an <strong>orders<\/strong> table:<\/p>\n      <div class=\"qs-d-code\" data-qs-hover=\"code\"><div class=\"qs-d-code__hdr\">Example &middot; SQL<\/div>\n<pre class=\"qs-d-code__body\">SELECT order_id, customer_name, order_total\nFROM main.orders\nORDER BY order_total DESC\nLIMIT 100;<\/pre><\/div>\n      <p>Run it, then <strong>Save<\/strong> it with a name you will recognise, like &ldquo;Orders for Anvil.works&rdquo;. Keep a column that is unique per row in the SELECT, here <strong>order_id<\/strong>. That is the key Full Sync uses to update rows in place. Edit and re-save the query later and the automation picks up the change on its next run.<\/p>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"2\" id=\"step-2\">\n      <h3>Open Automation and choose Anvil.works<\/h3>\n      <p>In the portal, open <a href=\"https:\/\/my.querystreams.com\/automation\/integrations\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"open_automation\"><strong>Automation<\/strong><\/a> (top menu <strong>Streams &rarr; Scheduled &rarr; Automation<\/strong>) and click <strong>New automation<\/strong>. The wizard has five short steps. On <strong>Step 1<\/strong> click the <strong>Anvil.works<\/strong> card.<\/p>\n      <div class=\"qs-d-cta\"><a class=\"qs-d-btn qs-d-btn--primary\" href=\"https:\/\/my.querystreams.com\/automation\/integrations\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"open_automation\"><i class=\"fa-solid fa-rotate\"><\/i> Open Automation<\/a><\/div>\n      <div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-circle-info\"><\/i><p><strong>Seeing &ldquo;Before You Begin&rdquo; instead?<\/strong> The wizard only opens once an Agent is online with a connection and at least one saved query exists. The page lists which of the three is missing and links to it.<\/p><\/div>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"3\" id=\"step-3\">\n      <h3>Connect Anvil.works<\/h3>\n      <p>On <strong>Step 2<\/strong> the page walks you through the Anvil side: add the Query Streams dependency code to your app under <strong>Settings &rarr; Dependencies &rarr; Third Party<\/strong>, create a Server Module with <code>from querystreams import connector<\/code> and <code>connector.init_connector(\"your key\")<\/code>, and click <strong>Generate Secure Key<\/strong> to make that key. Then enter your <strong>Anvil App URL<\/strong> and the same <strong>Connector Auth Key<\/strong> and click <strong>Test Connection<\/strong>. Your app needs <strong>Accelerated Tables<\/strong> switched on (Settings &rarr; Data Tables); the page re-checks that for you.<\/p>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"4\" id=\"step-4\">\n      <h3>Choose where the rows land<\/h3>\n      <p>On <strong>Step 3<\/strong> pick the <strong>Data Table<\/strong> the rows should land in. Create it in your Anvil app first if you want an empty one. If it already has rows, a preview shows them and explains what each sync mode would do to them. One automation per table.<\/p>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"5\" id=\"step-5\">\n      <h3>Pick the query and decide how rows land<\/h3>\n      <p>On <strong>Step 4<\/strong> open the <strong>Saved Query<\/strong> list and choose the query from step 1. Query Streams runs it once to read the columns, tells you how many rows it returns, and shows two choices:<\/p>\n<div class=\"qs-d-modes\" data-qs-seen=\"modes\"><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-pill\">Append &middot; fast<\/span><h3>Append<\/h3><p>Every run adds the query&rsquo;s rows to the bottom of the data table. Nothing is updated and nothing is deleted, so it is the quick choice for logs, events and history you want to accumulate. No key column needed. A row that comes back unchanged is not added again; a row whose values changed is added below as a new line and the old one stays.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"dst\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-pill\">Full Sync &middot; mirrors<\/span><h3>Full Sync<\/h3><p>Rows are matched by a <strong>key<\/strong> column such as an order ID. New rows are added, changed rows are updated in place, and rows that no longer come back from the query are removed, including rows someone typed into the data table by hand, so keep hand-made rows on another data table. This is the choice for inventory, pipelines, master data and dashboards.<\/p><\/div><\/div><p>Full Sync is set per column, which is what makes it useful in a shared data table:<\/p><dl class=\"qs-d-kv\"><dt>Key<\/dt><dd>The column that identifies a row, for example <strong>order_id<\/strong>. It has to be unique in the query result; Query Streams checks that for you and refuses duplicates.<\/dd><dt>Sync<\/dt><dd>Overwritten from DuckDB on every run. If someone edits a Sync column in Anvil.works, the next run puts the source value back.<\/dd><dt>Preserve<\/dt><dd>Written when the row first arrives and never compared again, so a change to it in DuckDB does not trigger an update. For notes, owners and follow-up dates your team types by hand, use a column that is not in the query at all: columns that exist only in Anvil.works are never touched by a sync.<\/dd><\/dl><div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-circle-info\"><\/i><p><strong>Which is faster?<\/strong> Append writes without reading the data table first. Full Sync reads it, compares every row, and writes only the differences, so it takes longer but the data table always matches the query. You can switch later from the automation&rsquo;s Edit panel.<\/p><\/div>\n      <p>For a data table you want to trust, click <strong>Create all columns as Sync<\/strong>, then click the key icon on <strong>order_id<\/strong> to make it the <strong>Key<\/strong>. Query Streams scans the whole result to confirm the key is unique and warns you if it is not. Keep your team&rsquo;s own notes in columns that are not part of the query; those are never touched. For a log that should only ever grow, click <strong>Create all columns as Preserve<\/strong> instead and skip the key. Click <strong>Continue<\/strong>.<\/p>\n    <\/li>\n    <li class=\"qs-d-step\" data-qs-step=\"6\" id=\"step-6\">\n      <h3>Set the schedule, name it, create it<\/h3>\n      <p>On <strong>Step 5<\/strong> choose <strong>Run on a schedule<\/strong> and pick a <strong>Frequency<\/strong>:<\/p>\n<table class=\"qs-d-table\" data-qs-seen=\"schedule\"><thead><tr><th>Frequency<\/th><th>Runs<\/th><\/tr><\/thead><tbody><tr><td><strong>Every 5 Minutes<\/strong><\/td><td>every 5 minutes, the fastest allowed<\/td><\/tr><tr><td><strong>Every 15 Minutes<\/strong><\/td><td>every 15 minutes<\/td><\/tr><tr><td><strong>Every 30 Minutes<\/strong><\/td><td>every 30 minutes<\/td><\/tr><tr><td><strong>Every Hour<\/strong><\/td><td>at the top of every hour<\/td><\/tr><tr><td><strong>Daily at 9 AM<\/strong><\/td><td>every day at 9:00, the default<\/td><\/tr><tr><td><strong>Daily at 6 AM<\/strong><\/td><td>every day at 6:00<\/td><\/tr><tr><td><strong>Weekdays at 9 AM<\/strong><\/td><td>Monday to Friday at 9:00<\/td><\/tr><tr><td><strong>Weekly (Monday 9 AM)<\/strong><\/td><td>every Monday at 9:00<\/td><\/tr><tr><td><strong>Custom Schedule<\/strong><\/td><td>your own minutes, hours, days of the week or day of the month<\/td><\/tr><\/tbody><\/table><p>Times follow the <strong>Timezone<\/strong> you pick, which starts as your browser&rsquo;s. You can also choose <strong>Manual only<\/strong> and press <strong>Run<\/strong> whenever you like; a schedule can be added later from the automation&rsquo;s Edit panel. Scheduled runs happen on the Agent, so they keep going while your browser is closed. If the computer running the Agent is off when a run is due, the missed run happens once, shortly after the Agent starts again.<\/p>\n      <p>Give it an <strong>Integration Name<\/strong>, such as &ldquo;Orders to Anvil.works, daily&rdquo;, check the <strong>Ready to Create<\/strong> summary and click <strong>Create Automation<\/strong>. Back on the Automation page, press <strong>Run<\/strong> once to do the first sync now rather than waiting for the schedule. Open Anvil.works: the rows are there, under your column headers.<\/p>\n    <\/li>\n<\/ol>\n\n<div class=\"qs-d-note\" data-zone=\"mint\"><i class=\"fa-solid fa-circle-check\"><\/i><p><strong>That&rsquo;s it.<\/strong> From now on the data table keeps itself current. Nothing left your network except the rows the query returned, and nobody has to remember to run anything.<\/p><\/div>\n\n<h2 id=\"after\">What you see afterwards<\/h2>\n<p>The <a href=\"https:\/\/my.querystreams.com\/automation\/integrations\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"open_automation\">Automation page<\/a> lists every automation with its status, source, target, key, schedule, last sync and row count. Open one for the <strong>Executions<\/strong> tab: every run with its trigger (manual or scheduled), duration, and rows created, updated, deleted and unchanged. A <strong>Performance<\/strong> tab shows data processed and success rate over 7 to 90 days.<\/p><div class=\"qs-d-grid\" data-qs-seen=\"monitor\"><div class=\"qs-d-card\" data-zone=\"mint\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-bell\"><\/i><\/span><h3>You are told when it stops<\/h3><p>Every organisation has a <strong>Sync Issues<\/strong> alert rule from day one: an in-app notice and an email when a sync fails, and one more when it recovers. One message per incident, never one per retry. Turn it off or change the channels under Streams &rarr; Alerts &amp; Reports.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"slate\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-pause\"><\/i><\/span><h3>It pauses itself when it should<\/h3><p>If Anvil.works stops accepting the connection, or the data connector is deleted, the automation pauses and says why. Reconnect or pick a new source and press Resume. Other errors keep the schedule going and show on the row.<\/p><\/div><div class=\"qs-d-card\" data-zone=\"rose\"><span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span><span class=\"qs-d-chip\"><i class=\"fa-solid fa-key\"><\/i><\/span><h3>Keys must be unique<\/h3><p>Before each Full Sync run Query Streams checks that the key values in your query result are unique and refuses the run if they are not, so nothing half-written lands in your data table. Keep the key column in place in Anvil; columns your query does not know about are never deleted by a sync.<\/p><\/div><\/div>\n\n<h2 id=\"plans\">What the plans allow<\/h2>\n<p>Automation is on every plan, including Free, with no limit on how many automations you create. What each plan limits is how many rows one query may return per run:<\/p><table class=\"qs-d-table qs-d-table--plans\" data-qs-seen=\"limits\"><thead><tr><th>Plan<\/th><th>Rows per run<\/th><\/tr><\/thead><tbody><tr><td>Free<\/td><td class=\"num\">125<\/td><\/tr><tr><td>Personal Core<\/td><td class=\"num\">500<\/td><\/tr><tr><td>Personal Plus<\/td><td class=\"num\">1,000<\/td><\/tr><tr><td>Business Core<\/td><td class=\"num\">2,500<\/td><\/tr><tr><td>Business Plus<\/td><td class=\"num\">5,000<\/td><\/tr><tr><td>Business Max<\/td><td class=\"num\">10,000<\/td><\/tr><tr><td>Enterprise Core<\/td><td class=\"num\">25,000<\/td><\/tr><tr><td>Enterprise Plus<\/td><td class=\"num\">100,000<\/td><\/tr><tr><td>Enterprise Max<\/td><td class=\"num\">250,000<\/td><\/tr><\/tbody><\/table><p>If a query returns more, the run is held rather than cut short, and the automation tells you which plan fits or suggests adding a filter such as a date range. Each successful run also counts against your Data Realm allowance, the same pool your Excel and Sheets queries use. <a href=\"https:\/\/querystreams.com\/pricing\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"pricing\">See the pricing page<\/a> for the allowances.<\/p>\n\n<h2 id=\"next\">Good next moves<\/h2>\n<ul>\n  <li><strong>Add a filter<\/strong> to the query, such as the last 90 days, so the data table stays small and fast and fits your plan&rsquo;s row limit.<\/li>\n  <li><strong>Keep hand-typed notes in their own columns<\/strong>, outside the query, so they survive every sync.<\/li>\n  <li><strong>Group your automations<\/strong> from the Edit panel once you have a few; the Automation page filters by group.<\/li>\n<\/ul>\n\n<!-- qs-partial:network-share -->\n<h2 id=\"network-share\">Reaching a file on a network share<\/h2>\n<p>The Agent opens files as a background service, not as you, so a file on another computer needs one extra step. Which step depends on the computer the Agent runs on.<\/p>\n<div class=\"qs-d-grid\" data-qs-seen=\"network-share\">\n  <div class=\"qs-d-card\" data-zone=\"mint\" id=\"network-share-windows\">\n    <span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span>\n    <span class=\"qs-d-chip\"><i class=\"fa-brands fa-windows\"><\/i><\/span>\n    <h3>Windows<\/h3>\n    <p>Type the network path, like <strong>\\\\server\\share\\folder<\/strong>, never a mapped drive letter such as <strong>S:<\/strong>, which the Agent cannot see. If the share only lets in named people, click <strong>Service identity<\/strong> (the chip under the path) and store a login for that server: a company domain account, or an account made on the server itself with <strong>Domain<\/strong> left blank. The Agent then signs in to that server and reads the file there, and every connector on that Agent that reads the same server must use the same login. Without a login, it reads as its own service account, which a company domain sees as the computer itself. <a href=\"https:\/\/querystreams.com\/docs\/where-the-agent-can-read-files-from\/#share-windows\" data-qs-cta=\"where_files\">Step by step on Windows<\/a><\/p>\n  <\/div>\n  <div class=\"qs-d-card\" data-zone=\"slate\" id=\"network-share-linux\">\n    <span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span>\n    <span class=\"qs-d-chip\"><i class=\"fa-brands fa-linux\"><\/i><\/span>\n    <h3>Linux<\/h3>\n    <p>Share logins stored in the Portal are not used on Linux: an administrator mounts the share on the Agent&rsquo;s computer first, in a folder under <strong>\/mnt<\/strong> or <strong>\/media<\/strong>, because the Agent&rsquo;s service cannot see <strong>\/home<\/strong> or <strong>\/run\/user<\/strong>. In the connector, keep the <strong>\\\\server\\share<\/strong> path, which the Agent maps onto the mount, or type the mount path instead, such as <strong>\/mnt\/fileserver-shared\/Accounts<\/strong>. <a href=\"https:\/\/querystreams.com\/docs\/where-the-agent-can-read-files-from\/#share-linux\" data-qs-cta=\"where_files\">How to mount a share on Linux<\/a><\/p>\n  <\/div>\n  <div class=\"qs-d-card\" data-zone=\"slate\" id=\"network-share-macos\">\n    <span class=\"qs-d-card__bar\"><\/span><span class=\"qs-d-card__blob\"><\/span>\n    <span class=\"qs-d-chip\"><i class=\"fa-brands fa-apple\"><\/i><\/span>\n    <h3>Mac<\/h3>\n    <p>Share logins stored in the Portal are not used on a Mac: mount the share first from Terminal with <strong>sudo<\/strong>, in a folder under <strong>\/Volumes<\/strong>, so the Agent&rsquo;s background service can see it. In the connector, keep the <strong>\\\\server\\share<\/strong> path, which the Agent maps onto the mount, or type the mount path instead, such as <strong>\/Volumes\/fileserver-shared\/Accounts<\/strong>. <a href=\"https:\/\/querystreams.com\/docs\/where-the-agent-can-read-files-from\/#share-macos\" data-qs-cta=\"where_files\">How to mount a share on a Mac<\/a><\/p>\n  <\/div>\n<\/div>\n<p>If the test cannot get to the share, look for these words in its result: <strong>unreachable<\/strong> means the Agent&rsquo;s computer got no answer from the server. On Linux or a Mac, <strong>not mounted<\/strong> means the share still has to be mounted, and that message includes the exact mount command for your server.<\/p>\n<div class=\"qs-d-note\" data-zone=\"slate\"><i class=\"fa-solid fa-database\"><\/i><p><strong>DuckDB file on a share?<\/strong> DuckDB allows one writer at a time, so the Agent cannot open a file that another program has open for writing; on a <strong>\\\\server\\share<\/strong> path the test says it <strong>is open for writing by another program<\/strong>. Close it there, or point the connector at a file nobody is writing to. Every query reads the file across the network, so a large file answers more slowly than it would from a local disk.<\/p><\/div>\n<!-- \/qs-partial:network-share -->\n<h3 id=\"share-test-failed\">Test failed on a share?<\/h3>\n<p>Every run reaches the file the same way the connection test does. If runs start failing after something changed on the file server, a new password for example, open the connector in <a href=\"https:\/\/my.querystreams.com\/data-agents\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"open_data_agents\">Data Agents<\/a> and click <strong>Test connection<\/strong>. The test result, and the line under the file path, name the problem:<\/p>\n<table class=\"qs-d-table\" data-qs-seen=\"share-test-failed\">\n  <thead><tr><th>Message<\/th><th>Cause<\/th><th>Fix<\/th><\/tr><\/thead>\n  <tbody>\n    <tr><td><strong>DuckDB database file not found:<\/strong> followed by a <strong>\\\\server\\share<\/strong> path you know is right<\/td><td>No login is stored, so the Agent tried the share as its own account and could not see the file: the share turned that account away, or the server did not answer. In the first case the line under the path says <strong>Access denied for the agent&rsquo;s service account<\/strong>.<\/td><td>Click <strong>Service identity<\/strong> under the path and store a login that can read the share. If the line under the path does not say access denied, check that the Agent&rsquo;s computer can open the share at all.<\/td><\/tr>\n    <tr><td><strong>Share \\\\server: access denied &mdash; add credentials for this server<\/strong><\/td><td>A login is stored, but that account has no permission on the share, or another sign-in to the same server is in the way; the message before this line says which.<\/td><td>Ask whoever runs the server to give that account read access, or store an account that has it. For a sign-in in the way, see the two rows on one login per server below.<\/td><\/tr>\n    <tr><td><strong>Share \\\\server: the credentials were refused &mdash; check the username and password<\/strong><\/td><td>The server turned the stored login down: a typo, the wrong domain, or a password changed since it was saved, which also stops runs that used to work.<\/td><td>Click the chip under the path and type the password again; for an account made on the server itself, leave <strong>Domain<\/strong> blank. After a refused login the Agent waits a minute before it tries that same one again, so the account is not locked out; saving a corrected password tries straight away.<\/td><\/tr>\n    <tr><td><strong>Share \\\\server: server unreachable from the agent machine<\/strong><\/td><td>The Agent&rsquo;s computer got no answer from the server: a wrong server name, the server is off, or a firewall blocks file sharing.<\/td><td>On the Agent&rsquo;s computer, open the same <strong>\\\\server\\share<\/strong> path in File Explorer. If that fails too, it is a network problem for whoever runs the network.<\/td><\/tr>\n    <tr><td><strong>Another connector on this agent already signs in to \\\\server as &hellip;<\/strong><\/td><td>Windows lets one computer sign in to a server as one account at a time, and another connector on this Agent uses a different login for that server.<\/td><td>Store the same login the other connector uses, or change it on every connector that reads that server.<\/td><\/tr>\n    <tr><td><strong>Windows already holds a sign-in to \\\\server for &hellip;<\/strong><\/td><td>Something on the Agent&rsquo;s computer other than the Agent is already signed in to that server as a different account, and the Agent never closes a sign-in it did not make.<\/td><td>Do what the rest of the message says: use that same account on this connector, or close the other sign-in on the Agent&rsquo;s computer. If it says the share is already readable through that sign-in, choose <strong>Use service identity<\/strong> in the login box instead.<\/td><\/tr>\n    <tr><td><strong>This agent build cannot sign in to \\\\server with stored credentials.<\/strong><\/td><td>The Agent is an older version that cannot use stored logins.<\/td><td>Update the Agent, then test again.<\/td><\/tr>\n    <tr><td><strong>\\\\server\\share is not mounted on this Linux agent<\/strong> (or <strong>macOS agent<\/strong>)<\/td><td>The Agent runs on Linux or a Mac and the share has not been mounted on its computer yet; logins stored in the Portal are not used there.<\/td><td>Mount it with the command the message gives you, then test again. Step by step: <a href=\"https:\/\/querystreams.com\/docs\/where-the-agent-can-read-files-from\/#share-linux\" data-qs-cta=\"where_files\">on Linux<\/a> &middot; <a href=\"https:\/\/querystreams.com\/docs\/where-the-agent-can-read-files-from\/#share-macos\" data-qs-cta=\"where_files\">on a Mac<\/a>.<\/td><\/tr>\n    <tr><td><strong>&hellip; is open for writing by another program<\/strong><\/td><td>DuckDB allows one writer at a time, and another program has the file open for writing.<\/td><td>Close the file in that program, or point the connector at a file nobody is writing to.<\/td><\/tr>\n  <\/tbody>\n<\/table>\n\n<h2 id=\"faq\">Questions people ask<\/h2>\n<div class=\"qs-d-faq\" data-qs-seen=\"faq\"><details><summary>Will the sync overwrite notes my team adds in Anvil.works?<\/summary><div class=\"qs-d-faq__a\"><p>Not if the notes live in their own column. Columns that exist only in Anvil.works and not in your query are never touched, so add a Notes or Owner column beside the synced ones and type there. Columns marked <strong>Sync<\/strong> are put back to the DuckDB value on every run; <strong>Preserve<\/strong> columns are filled when a row first arrives and are not compared afterwards.<\/p><\/div><\/details><details><summary>Does my DuckDB data get stored by Query Streams?<\/summary><div class=\"qs-d-faq__a\"><p>No. The Agent runs the query on your side and sends the rows straight on to Anvil.works over an encrypted link. Query Streams keeps the configuration, the schedule and a count of rows per run, not the rows themselves.<\/p><\/div><\/details><details><summary>Does my computer need to stay on?<\/summary><div class=\"qs-d-faq__a\"><p>The one running the Agent does, because the Agent is what runs the query and writes to Anvil.works. Your own laptop and browser can be closed. If that computer is off when a run is due, the missed run happens once, shortly after the Agent starts again.<\/p><\/div><\/details><details><summary>Can I change the query later?<\/summary><div class=\"qs-d-faq__a\"><p>Yes. Edit and save it in Query Builder and the next run uses the new version automatically. If you add or remove columns, open the automation&rsquo;s Edit panel to map them.<\/p><\/div><\/details><details><summary>Can two automations write to the same data table?<\/summary><div class=\"qs-d-faq__a\"><p>No, one automation per data table. Point a second automation at a different data table, or widen the query behind the first one.<\/p><\/div><\/details><details><summary>Does the Free plan really cover this?<\/summary><div class=\"qs-d-faq__a\"><p>Yes. Free is a plan you keep, not a trial that expires. Automation is included on every plan; what changes by plan is how many rows one query may return per run. See exactly what Free includes on the <a href=\"https:\/\/querystreams.com\/pricing\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"pricing\">pricing page<\/a>.<\/p><\/div><\/details><\/div>\n\n\n<div class=\"qs-d-support qs-d-support--foot\" data-zone=\"mint\" data-qs-seen=\"support\"><span class=\"qs-d-chip\"><i class=\"fa-solid fa-life-ring\"><\/i><\/span><div class=\"qs-d-support__body\"><strong>Still stuck?<\/strong> Open <a href=\"https:\/\/my.querystreams.com\/support\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"support\">Support<\/a> in Query Streams and tell us which step you are on and what you see. We will get you connected.<\/div><\/div>\n<div class=\"qs-d-cta\"><a class=\"qs-d-btn qs-d-btn--primary\" href=\"https:\/\/my.querystreams.com\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"signup\"><i class=\"fa-solid fa-user-plus\"><\/i> Create your Free plan account<\/a><a class=\"qs-d-btn qs-d-btn--ghost\" href=\"https:\/\/querystreams.com\/pricing\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"pricing\">See what Free includes<\/a><\/div>\n\n<h2 id=\"related\">Related guides<\/h2>\n<ul class=\"qs-d-related\">\n    <li><a href=\"https:\/\/querystreams.com\/docs\/anvil-works-mysql-integration\/\" data-qs-cta=\"related\">MySQL to Anvil.works<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/anvil-works-postgresql-integration\/\" data-qs-cta=\"related\">PostgreSQL to Anvil.works<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/anvil-works-sql-server-integration\/\" data-qs-cta=\"related\">Microsoft SQL Server to Anvil.works<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/google-sheets-duckdb-integration\/\" data-qs-cta=\"related\">DuckDB to Google Sheets<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/airtable-duckdb-integration\/\" data-qs-cta=\"related\">DuckDB to Airtable<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs\/how-to-connect-duckdb-to-google-sheets\/\" data-qs-cta=\"related\">How to connect DuckDB to Google Sheets<\/a><\/li>\n    <li><a href=\"https:\/\/querystreams.com\/docs-category\/anvil-works-automation\/\" data-qs-cta=\"related\">All Anvil.works automation guides<\/a><\/li>\n  <\/ul>\n<div class=\"qs-d-also\" data-qs-seen=\"also\"><span>The same saved query can also be kept in step with<\/span><a href=\"https:\/\/querystreams.com\/docs-category\/google-sheet-automation\/\" data-qs-cta=\"also_platform\">Google Sheets<\/a><a href=\"https:\/\/querystreams.com\/docs-category\/airtable-automation\/\" data-qs-cta=\"also_platform\">Airtable<\/a><a href=\"https:\/\/querystreams.com\/docs-category\/smartsheet-automation\/\" data-qs-cta=\"also_platform\">Smartsheet<\/a><a href=\"https:\/\/querystreams.com\/docs-category\/baserow-automation\/\" data-qs-cta=\"also_platform\">Baserow<\/a><a href=\"https:\/\/querystreams.com\/docs-category\/seatable-automation\/\" data-qs-cta=\"also_platform\">SeaTable<\/a><a href=\"https:\/\/querystreams.com\/features\/automation-integration\/\" target=\"_blank\" rel=\"noopener\" data-qs-cta=\"feature\">and more<\/a><\/div>\n<\/article>\n<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"HowTo\",\"name\":\"Sync DuckDB to Anvil.works on a Schedule\",\"description\":\"Step-by-step guide to keep Anvil.works in step with DuckDB on a schedule with Query Streams Automation, without scripts or exports.\",\"totalTime\":\"PT15M\",\"step\":[{\"@type\":\"HowToStep\",\"position\":1,\"name\":\"Save the query\",\"text\":\"In Query Builder, write the SELECT that returns the rows you want in Anvil.works and save it. Include a unique column such as an ID if you want changed rows updated in place.\",\"url\":\"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/#step-1\"},{\"@type\":\"HowToStep\",\"position\":2,\"name\":\"Open Automation\",\"text\":\"In the Query Streams portal open Streams, then Automation, click New automation and choose the platform.\",\"url\":\"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/#step-2\"},{\"@type\":\"HowToStep\",\"position\":3,\"name\":\"Connect Anvil.works\",\"text\":\"Add the Query Streams dependency and connector key to your Anvil app, enter the app URL and key, and click Test Connection.\",\"url\":\"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/#step-3\"},{\"@type\":\"HowToStep\",\"position\":4,\"name\":\"Choose the destination\",\"text\":\"Pick the Anvil data table the rows should land in.\",\"url\":\"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/#step-4\"},{\"@type\":\"HowToStep\",\"position\":5,\"name\":\"Pick the query and how rows land\",\"text\":\"Select the saved query, choose Append or Full Sync, and set the key column.\",\"url\":\"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/#step-5\"},{\"@type\":\"HowToStep\",\"position\":6,\"name\":\"Set the schedule and create\",\"text\":\"Choose Run on a schedule and a frequency, pick your timezone, name the automation and click Create Automation. Press Run for the first sync.\",\"url\":\"https:\/\/querystreams.com\/docs\/anvil-works-duckdb-integration\/#step-6\"}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[47],"doc_tag":[75,56,55,64,57],"class_list":["post-3119","docs","type-docs","status-publish","hentry","doc_category-anvil-works-automation","doc_tag-anvil-works","doc_tag-automation","doc_tag-database-integration","doc_tag-duckdb","doc_tag-no-code"],"year_month":"2026-12","word_count":2056,"total_views":"1433","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Dukungan Query Streams","author_nicename":"support","author_url":"https:\/\/querystreams.com\/id\/author\/support\/"},"doc_category_info":[{"term_name":"Anvil.works automation","term_url":"https:\/\/querystreams.com\/id\/docs-category\/anvil-works-automation\/"}],"doc_tag_info":[{"term_name":"anvil-works","term_url":"https:\/\/querystreams.com\/id\/docs-tag\/anvil-works\/"},{"term_name":"automation","term_url":"https:\/\/querystreams.com\/id\/docs-tag\/automation\/"},{"term_name":"database-integration","term_url":"https:\/\/querystreams.com\/id\/docs-tag\/database-integration\/"},{"term_name":"duckdb","term_url":"https:\/\/querystreams.com\/id\/docs-tag\/duckdb\/"},{"term_name":"no-code","term_url":"https:\/\/querystreams.com\/id\/docs-tag\/no-code\/"}],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false,"betterdocs-category-thumb":false},"uagb_author_info":{"display_name":"Query Streams Support","author_link":"https:\/\/querystreams.com\/id\/author\/support\/"},"uagb_comment_info":0,"uagb_excerpt":null,"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/docs\/3119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/comments?post=3119"}],"version-history":[{"count":1,"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/docs\/3119\/revisions"}],"predecessor-version":[{"id":7355,"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/docs\/3119\/revisions\/7355"}],"wp:attachment":[{"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/media?parent=3119"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/doc_category?post=3119"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/querystreams.com\/id\/wp-json\/wp\/v2\/doc_tag?post=3119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}