Read ; Write ; Upload ; Image(263) ; Threads(141) ; Settings ; Profile ; Boxes ; Help
Banana Lounge Unofficial Fan Forum

Count #
Items on page: 4
2024-10-21 #
file_hash item_title author_id cart
1249bcb5 [Public key for ilyag, 8E3C810099295332] ilyag +cart
b0d76a5a [Public key for ilyag, 5FBB8DAE3AA786AE] ilyag +cart
baf42983 1729502540_image Guest +cart
b6dc5296 1729502490_image Guest +cart
[Public key for ilyag, 8 #
#pubkey

[This item is a public key.]

no timestamp; ilyag; 966fba47; like ; +cart
[Public key for ilyag, 5 #
#pubkey

[This item is a public key.]

no timestamp; ilyag; 6051c24c; like ; +cart
1729502490_image #
#image

1729502490_image

; b6dc5296; like ; +cart
1729502540_image #
#image

1729502540_image

; baf42983; like ; +cart
query.sql #


		SELECT
			item_flat.file_path file_path,
			item_flat.item_name item_name,
			item_flat.file_hash file_hash,
			item_flat.author_key author_key,
			item_flat.child_count child_count,
			item_flat.parent_count parent_count,
			item_flat.add_timestamp add_timestamp,
			item_flat.item_title item_title,
			item_flat.item_score item_score,
			item_flat.labels_list labels_list,
			item_flat.item_type item_type,
			item_flat.item_order item_order,
			item_flat.item_sequence item_sequence
		FROM
			item_flat
	 
		WHERE
			file_hash IN (
				SELECT file_hash
				FROM item_flat
				WHERE
					item_score >= 0 AND
					(
						SUBSTR(DATETIME(add_timestamp, 'unixepoch', 'localtime'), 0, 11) = '2024-10-21'
						OR
						file_hash IN (
							SELECT file_hash FROM item_attribute where attribute = 'date' AND value = '2024-10-21'
						)
					)
				)
				AND (
					file_hash NOT IN (
						SELECT file_hash FROM item_attribute WHERE attribute = 'date' AND value <> '2024-10-21'
					)
					OR
					file_hash IN (
						SELECT file_hash FROM item_attribute WHERE attribute = 'date' AND value = '2024-10-21'
					)
				);
			

Cart #
Paste
Clear
Add All
^
JavaScript #