# Path: samples/snippets.py
# def enable_autocommit_mode(connection, url):
# def create_table(url, table_id):
# def drop_table(table):
# def get_table_names(url):
# def create_unique_index(table):
# def delete_all_rows(connection, table):
# def delete_row_with_where_clause(connection, table):
# def table_exists(table):
# def fetch_rows(connection, table):
# def fetch_row_with_where_clause(connection, table):
# def fetch_rows_with_limit_offset(connection, table):
# def fetch_rows_with_order_by(connection, table):
# def filter_data_startswith(connection, table):
# def get_table_columns(url, table):
# def get_table_foreign_key(url, table):
# def get_table_indexes(url, table):
# def get_table_primary_key(url, table):
# def insert_row(connection, table):
# def update_row(connection, table):
# 
# Path: samples/conftest.py
# def insert_data(conn, table, data):
#     conn.execute(table.insert(), data)


from samples import snippets
from samples.conftest import insert_data
from sqlalchemy import (
    Column,
    create_engine,
    Index,
    Integer,
    inspect,
    MetaData,
    String,
    Table,
)
# Copyright 2021 Google LLC
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bs


DATA = [
    {"user_id": 1, "user_name": "abcdefg"},
    {"user_id": 2, "user_name": "ab/cdefg"},
    {"user_id": 3, "user_name": "ab%cdefg"},
    {"user_id": 4, "user_name": "ab_cdefg"},
    {"user_id": 5, "user_name": "abcde/fg"},

# Path: samples/snippets.py
# def enable_autocommit_mode(connection, url):
# def create_table(url, table_id):
# def drop_table(table):
# def get_table_names(url):
# def create_unique_index(table):
# def delete_all_rows(connection, table):
# def delete_row_with_where_clause(connection, table):
# def table_exists(table):
# def fetch_rows(connection, table):
# def fetch_row_with_where_clause(connection, table):
# def fetch_rows_with_limit_offset(connection, table):
# def fetch_rows_with_order_by(connection, table):
# def filter_data_startswith(connection, table):
# def get_table_columns(url, table):
# def get_table_foreign_key(url, table):
# def get_table_indexes(url, table):
# def get_table_primary_key(url, table):
# def insert_row(connection, table):
# def update_row(connection, table):
# 
# Path: samples/conftest.py
# def insert_data(conn, table, data):
#     conn.execute(table.insert(), data)


# Path: samples/snippets_test.py
from samples import snippets
from samples.conftest import insert_data
from sqlalchemy import (
    Column,
    create_engine,
    Index,
    Integer,
    inspect,
    MetaData,
    String,
    Table,
)

# Copyright 2021 Google LLC
#
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bs


DATA = [
    {"user_id": 1, "user_name": "abcdefg"},
    {"user_id": 2, "user_name": "ab/cdefg"},
    {"user_id": 3, "user_name": "ab%cdefg"},
    {"user_id": 4, "user_name": "ab_cdefg"},
    {"user_id": 5, "user_name": "abcde/fg"},

    {"user_id": 6, "user_name": "abcde%fg"},